X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8eca904388361aff879b379fbe3901a67275efb9..7793cd27abcc26af103c77d5947c368b54295a79:/test/controllers/site_controller_test.rb diff --git a/test/controllers/site_controller_test.rb b/test/controllers/site_controller_test.rb index d559760af..5efddd52e 100644 --- a/test/controllers/site_controller_test.rb +++ b/test/controllers/site_controller_test.rb @@ -6,8 +6,8 @@ class SiteControllerTest < ActionController::TestCase ## # setup oauth keys def setup - Object.const_set("ID_KEY", client_applications(:oauth_web_app).key) - Object.const_set("POTLATCH2_KEY", client_applications(:oauth_web_app).key) + Object.const_set("ID_KEY", create(:client_application).key) + Object.const_set("POTLATCH2_KEY", create(:client_application).key) stub_hostip_requests end