summaryrefslogtreecommitdiffstats
path: root/integrations/api_packages_pub_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/api_packages_pub_test.go')
-rw-r--r--integrations/api_packages_pub_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_packages_pub_test.go b/integrations/api_packages_pub_test.go
index d64f88def7..76d5116158 100644
--- a/integrations/api_packages_pub_test.go
+++ b/integrations/api_packages_pub_test.go
@@ -27,7 +27,7 @@ import (
func TestPackagePub(t *testing.T) {
defer prepareTestEnv(t)()
- user := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 2}).(*user_model.User)
+ user := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 2})
token := "Bearer " + getUserToken(t, user.Name)