]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/oauth_applications.rb
Use bootstrap badges to implement count-number badges
[rails.git] / test / factories / oauth_applications.rb
index a9b3b875da7b003ff912b879aae2b9fce2547934..1e62d2c973eaff522ae26cc26aba99cad5b5add3 100644 (file)
@@ -1,5 +1,5 @@
 FactoryBot.define do
 FactoryBot.define do
-  factory :oauth_application, :class => "Doorkeeper::Application" do
+  factory :oauth_application, :class => "Oauth2Application" do
     sequence(:name) { |n| "OAuth application #{n}" }
     sequence(:redirect_uri) { |n| "https://example.com/app/#{n}" }
 
     sequence(:name) { |n| "OAuth application #{n}" }
     sequence(:redirect_uri) { |n| "https://example.com/app/#{n}" }