diff --git a/test/controllers/test_ontologies_controller.rb b/test/controllers/test_ontologies_controller.rb index da8c6c11..6a4c9a27 100644 --- a/test/controllers/test_ontologies_controller.rb +++ b/test/controllers/test_ontologies_controller.rb @@ -287,6 +287,8 @@ def test_on_demand_ontology_pull post "/ontologies/#{acronym}/pull?apikey=#{blocked_user.apikey}" assert_equal(403, last_response.status, msg="An unauthorized user was able to execute the on-demand pull") ensure + del = User.find("blocked").first + del.delete if del stop_server LinkedData.settings.enable_security = false end