From 3f3bc5c49c371d448c3c229751b4a353aa0a9f60 Mon Sep 17 00:00:00 2001 From: chahat arora <42025842+chahat-arora@users.noreply.github.com> Date: Fri, 10 May 2019 02:10:05 +0530 Subject: [PATCH] Update team_test.go (#10813) * Update team_test.go * Update plugin_api_test.go --- api4/team_test.go | 2 +- app/plugin_api_test.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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()