summaryrefslogtreecommitdiffstats
path: root/store/sql_system_store_test.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-04-11 13:45:03 -0400
committerChristopher Speller <crspeller@gmail.com>2016-04-11 13:45:03 -0400
commit49ab8b216191749bd39694d79f687a84ad24adf0 (patch)
tree27b4966d437b15ddcd8d420b8a1afc1881455c13 /store/sql_system_store_test.go
parent5b96ad59c502d435dbca95950c4590a575b2c5b9 (diff)
downloadchat-49ab8b216191749bd39694d79f687a84ad24adf0.tar.gz
chat-49ab8b216191749bd39694d79f687a84ad24adf0.tar.bz2
chat-49ab8b216191749bd39694d79f687a84ad24adf0.zip
Add custom branding functionality (#2667)
Diffstat (limited to 'store/sql_system_store_test.go')
-rw-r--r--store/sql_system_store_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/store/sql_system_store_test.go b/store/sql_system_store_test.go
index ce149e97a..74e2876ad 100644
--- a/store/sql_system_store_test.go
+++ b/store/sql_system_store_test.go
@@ -30,6 +30,12 @@ func TestSqlSystemStore(t *testing.T) {
if systems2[system.Name] != system.Value {
t.Fatal()
}
+
+ result3 := <-store.System().GetByName(system.Name)
+ rsystem := result3.Data.(*model.System)
+ if rsystem.Value != system.Value {
+ t.Fatal()
+ }
}
func TestSqlSystemStoreSaveOrUpdate(t *testing.T) {