]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/oauth_access_token.rb
Merge pull request #4485 from tomhughes/drop-lower-index
[rails.git] / test / factories / oauth_access_token.rb
index c0f6245305c57b9018507cf08a8d3a1e19a33ca4..3f862fbca752e9887cbf63df02491ea493c83f10 100644 (file)
@@ -1,6 +1,5 @@
 FactoryBot.define do
   factory :oauth_access_token, :class => "Doorkeeper::AccessToken" do
-    association :resource_owner_id, :factory => :user
-    association :application, :factory => :oauth_application
+    application :factory => :oauth_application
   end
 end