Update team_test.go (#10813)
* Update team_test.go * Update plugin_api_test.go
Этот коммит содержится в:
коммит произвёл
Jesse Hallam
родитель
6e8f7467bb
Коммит
3f3bc5c49c
@@ -2473,7 +2473,7 @@ func TestUpdateTeamScheme(t *testing.T) {
|
||||
_, resp = th.Client.UpdateTeamScheme(team.Id, teamScheme.Id)
|
||||
CheckForbiddenStatus(t, resp)
|
||||
|
||||
// Test that a license is requried.
|
||||
// Test that a license is required.
|
||||
th.App.SetLicense(nil)
|
||||
_, resp = th.SystemAdminClient.UpdateTeamScheme(team.Id, teamScheme.Id)
|
||||
CheckNotImplementedStatus(t, resp)
|
||||
|
||||
@@ -505,9 +505,9 @@ func TestPluginAPIGetPlugins(t *testing.T) {
|
||||
}
|
||||
th.App.SetPluginsEnvironment(env)
|
||||
|
||||
// Decativate the last one for testing
|
||||
sucess := env.Deactivate(pluginIDs[len(pluginIDs)-1])
|
||||
require.True(t, sucess)
|
||||
// Deactivate the last one for testing
|
||||
success := env.Deactivate(pluginIDs[len(pluginIDs)-1])
|
||||
require.True(t, success)
|
||||
|
||||
// check existing user first
|
||||
plugins, err := api.GetPlugins()
|
||||
|
||||
Ссылка в новой задаче
Block a user