From 971815089e1db95435ea5f0309fac9c713d369e3 Mon Sep 17 00:00:00 2001 From: Alex Skrenchuk Date: Thu, 8 Feb 2024 15:59:50 -0800 Subject: [PATCH] clean up aftifacts created by unit test fixes #136 --- test/controllers/test_ontologies_controller.rb | 2 ++ 1 file changed, 2 insertions(+) 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