]> git.openstreetmap.org Git - rails.git/blob - test/factories/oauth_access_token.rb
Simplify creation of bearer authorization headers
[rails.git] / test / factories / oauth_access_token.rb
1 FactoryBot.define do
2   factory :oauth_access_token, :class => "Doorkeeper::AccessToken" do
3     application :factory => :oauth_application
4
5     resource_owner_id { create(:user).id }
6   end
7 end