summaryrefslogtreecommitdiff
path: root/spec/factories/oauth_access_grants.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/oauth_access_grants.rb')
-rw-r--r--spec/factories/oauth_access_grants.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/oauth_access_grants.rb b/spec/factories/oauth_access_grants.rb
index 9e6af24c4eb..02c51cd9899 100644
--- a/spec/factories/oauth_access_grants.rb
+++ b/spec/factories/oauth_access_grants.rb
@@ -3,7 +3,7 @@ FactoryBot.define do
resource_owner_id { create(:user).id }
application
token { Doorkeeper::OAuth::Helpers::UniqueToken.generate }
- expires_in 2.hours
+ expires_in { 2.hours }
redirect_uri { application.redirect_uri }
scopes { application.scopes }