diff options
Diffstat (limited to 'services/auth/oauth2_test.go')
-rw-r--r-- | services/auth/oauth2_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/auth/oauth2_test.go b/services/auth/oauth2_test.go index 75c231ff7a..b706847e8e 100644 --- a/services/auth/oauth2_test.go +++ b/services/auth/oauth2_test.go @@ -28,7 +28,7 @@ func TestUserIDFromToken(t *testing.T) { o := OAuth2{} uid := o.userIDFromToken(context.Background(), token, ds) assert.Equal(t, int64(user_model.ActionsUserID), uid) - assert.Equal(t, ds["IsActionsToken"], true) + assert.Equal(t, true, ds["IsActionsToken"]) assert.Equal(t, ds["ActionsTaskID"], int64(RunningTaskID)) }) } |