From 6b61834ab14e9a4e51c29dd2904a1332c327aae6 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 3 Apr 2017 13:32:58 -0400 Subject: Add store unit tests and add make target for testing store with postgres (#5925) * Add store unit tests and add make target for testing store with postgres * Remove postgres target form test-server target * Fix audit test --- store/sql_system_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'store/sql_system_store.go') diff --git a/store/sql_system_store.go b/store/sql_system_store.go index cb589e760..803383408 100644 --- a/store/sql_system_store.go +++ b/store/sql_system_store.go @@ -34,7 +34,7 @@ func (s SqlSystemStore) Save(system *model.System) StoreChannel { result := StoreResult{} if err := s.GetMaster().Insert(system); err != nil { - result.Err = model.NewLocAppError("SqlSystemStore.Save", "store.sql_system.save.app_error", nil, "") + result.Err = model.NewLocAppError("SqlSystemStore.Save", "store.sql_system.save.app_error", nil, err.Error()) } storeChannel <- result -- cgit v1.2.3-1-g7c22