diff options
Diffstat (limited to 'api/team_test.go')
-rw-r--r-- | api/team_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/team_test.go b/api/team_test.go index 641f7b98d..fdc7e334b 100644 --- a/api/team_test.go +++ b/api/team_test.go @@ -191,7 +191,7 @@ func TestGetAllTeamListings(t *testing.T) { } } - UpdateUserRoles(user, model.ROLE_SYSTEM_ADMIN.Id) + app.UpdateUserRoles(user.Id, model.ROLE_SYSTEM_ADMIN.Id) Client.Login(user.Email, "passwd1") Client.SetTeamId(team.Id) @@ -244,7 +244,7 @@ func TestTeamPermDelete(t *testing.T) { c.RequestId = model.NewId() c.IpAddress = "test" - err := PermanentDeleteTeam(team) + err := app.PermanentDeleteTeam(team) if err != nil { t.Fatal(err) } |