summaryrefslogtreecommitdiffstats
path: root/cmd/commands/roles_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/commands/roles_test.go')
-rw-r--r--cmd/commands/roles_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/commands/roles_test.go b/cmd/commands/roles_test.go
index 1e0a46a4e..b6b3ae10f 100644
--- a/cmd/commands/roles_test.go
+++ b/cmd/commands/roles_test.go
@@ -6,13 +6,13 @@ package commands
import (
"testing"
- "github.com/mattermost/mattermost-server/api"
+ "github.com/mattermost/mattermost-server/api4"
"github.com/mattermost/mattermost-server/cmd"
"github.com/mattermost/mattermost-server/model"
)
func TestAssignRole(t *testing.T) {
- th := api.Setup().InitBasic()
+ th := api4.Setup().InitBasic()
defer th.TearDown()
cmd.CheckCommand(t, "roles", "system_admin", th.BasicUser.Email)