]> git.openstreetmap.org Git - rails.git/blob - test/factories/oauth_applications.rb
Merge remote-tracking branch 'upstream/pull/4656'
[rails.git] / test / factories / oauth_applications.rb
1 FactoryBot.define do
2   factory :oauth_application, :class => "Oauth2Application" do
3     sequence(:name) { |n| "OAuth application #{n}" }
4     sequence(:redirect_uri) { |n| "https://example.com/app/#{n}" }
5
6     owner :factory => :user
7   end
8 end