Skip to content

Commit

Permalink
implemented a test for #127 - Add API call to trigger ontology pull f…
Browse files Browse the repository at this point in the history
…rom remote location
  • Loading branch information
mdorf committed Jan 11, 2024
1 parent 89168e9 commit 243dba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/controllers/test_ontologies_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def test_on_demand_ontology_pull
allowed_user.bring(:apikey) if allowed_user.bring?(:apikey)

post "/ontologies/#{acronym}/pull?apikey=#{allowed_user.apikey}"
assert_equal(404, last_response.status, msg="This ontology is is NOT configured to be remotely pulled at this point in the test. It should return status 404")
assert_equal(404, last_response.status, msg="This ontology is NOT configured to be remotely pulled at this point in the test. It should return status 404")

begin
start_server
Expand Down

0 comments on commit 243dba3

Please sign in to comment.