aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/org_count_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/org_count_test.go')
-rw-r--r--integrations/org_count_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/org_count_test.go b/integrations/org_count_test.go
index eca51eb0f6..2bffa90034 100644
--- a/integrations/org_count_test.go
+++ b/integrations/org_count_test.go
@@ -115,7 +115,7 @@ func doCheckOrgCounts(username string, orgCounts map[string]int, strict bool, ca
return func(t *testing.T) {
user := unittest.AssertExistsAndLoadBean(t, &user_model.User{
Name: username,
- }).(*user_model.User)
+ })
orgs, err := organization.FindOrgs(organization.FindOrgOptions{
UserID: user.ID,