diff options
Diffstat (limited to 'api4/team_test.go')
-rw-r--r-- | api4/team_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/team_test.go b/api4/team_test.go index c26c34a22..b5c036755 100644 --- a/api4/team_test.go +++ b/api4/team_test.go @@ -1897,7 +1897,7 @@ func TestInviteUsersToTeam(t *testing.T) { expectedSubject := utils.T("api.templates.invite_subject", map[string]interface{}{"SenderName": th.SystemAdminUser.GetDisplayName(nameFormat), "TeamDisplayName": th.BasicTeam.DisplayName, - "SiteName": utils.ClientCfg["SiteName"]}) + "SiteName": th.App.ClientConfig()["SiteName"]}) //Check if the email was send to the rigth email address for _, email := range emailList { |