Skip to content

Commit

Permalink
clean up aftifacts created by unit test
Browse files Browse the repository at this point in the history
fixes #136
  • Loading branch information
alexskr committed Feb 8, 2024
1 parent 44a0a5a commit 9718150
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/controllers/test_ontologies_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9718150

Please sign in to comment.