]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/oauth_access_token.rb
Remove unnecessary comma from several translatable messages
[rails.git] / test / factories / oauth_access_token.rb
index 5b39cb400cf62267a046bc16787ca95e58173c20..6a8b62f6c077217548278d3330c6c98c2823abc7 100644 (file)
@@ -1,5 +1,7 @@
 FactoryBot.define do
   factory :oauth_access_token, :class => "Doorkeeper::AccessToken" do
-    association :application, :factory => :oauth_application
+    application :factory => :oauth_application
+
+    resource_owner_id { create(:user).id }
   end
 end