summaryrefslogtreecommitdiffstats
path: root/api4/system_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/system_test.go')
-rw-r--r--api4/system_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/api4/system_test.go b/api4/system_test.go
index c960f8689..426752b58 100644
--- a/api4/system_test.go
+++ b/api4/system_test.go
@@ -6,7 +6,6 @@ import (
"testing"
l4g "github.com/alecthomas/log4go"
- "github.com/mattermost/mattermost-server/app"
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/utils"
)
@@ -108,7 +107,7 @@ func TestUpdateConfig(t *testing.T) {
defer TearDown()
Client := th.Client
- cfg := app.GetConfig()
+ cfg := th.App.GetConfig()
_, resp := Client.UpdateConfig(cfg)
CheckForbiddenStatus(t, resp)