Preferences SQL tests (#4016)

This commit is contained in:
Erki
2017-12-29 23:57:31 +02:00
committed by Lohikar
parent 139a0fa2b7
commit ba57b5a5e5
21 changed files with 205 additions and 37 deletions
@@ -10,6 +10,13 @@
// General-purpose helper for drawing a colored box.
#define HTML_RECT(color) "&nbsp;<div style=\"display:inline;height:10px;width:30px;background:'[color || "#FFFFFF"]'\"></div>&nbsp;"
// A bit of a hack to allow unit testing of category items.
#ifdef UNIT_TEST
# define PREF_CLIENT_CKEY ""
#else
# define PREF_CLIENT_CKEY pref.client.ckey
#endif
/datum/category_group/player_setup_category/general_preferences
name = "General"
sort_order = 1