diff --git a/api4/team_test.go b/api4/team_test.go index 8f23535f41..6616098b53 100644 --- a/api4/team_test.go +++ b/api4/team_test.go @@ -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) diff --git a/app/plugin_api_test.go b/app/plugin_api_test.go index 9dac5f62a5..abec98e7b7 100644 --- a/app/plugin_api_test.go +++ b/app/plugin_api_test.go @@ -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()