Skip to content

Commit

Permalink
chore: fix datetime ..
Browse files Browse the repository at this point in the history
  • Loading branch information
susanpann committed Oct 30, 2023
1 parent 45082c6 commit c34b36d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/api_keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func CreateTestAPIKey(t *testing.T, client *client.Client, user *users.User) *us
apiKey := users.NewAPIKey(internal.GetRandomName(), user.ID)
require.NotNil(t, apiKey)

expiry := time.Now().Add(time.Hour)
expiry := time.Now().Add(time.Hour).UTC()
apiKey.Expires = &expiry

createdAPIKey, err := client.APIKeys.Create(apiKey)
Expand Down

0 comments on commit c34b36d

Please sign in to comment.