diff --git a/test/controllers/observations/inat_imports_controller_test.rb b/test/controllers/observations/inat_imports_controller_test.rb index 958099fd36..600ffca66a 100644 --- a/test/controllers/observations/inat_imports_controller_test.rb +++ b/test/controllers/observations/inat_imports_controller_test.rb @@ -321,8 +321,8 @@ def test_import_zero_results mock_search_result = File.read("test/inat/#{filename}.txt") inat_import_ids = "123" - simulate_authorization(user: user, inat_import_ids: inat_import_ids) stub_inat_api_request(inat_import_ids, mock_search_result) + simulate_authorization(user: user, inat_import_ids: inat_import_ids) stub_access_token_request stub_jwt_request