From 243dba3f2feb16fb5439537709e8a545fe498aa6 Mon Sep 17 00:00:00 2001 From: mdorf Date: Thu, 11 Jan 2024 15:45:34 -0800 Subject: [PATCH] implemented a test for #127 - Add API call to trigger ontology pull from remote location --- test/controllers/test_ontologies_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllers/test_ontologies_controller.rb b/test/controllers/test_ontologies_controller.rb index 1d2731cc..da8c6c11 100644 --- a/test/controllers/test_ontologies_controller.rb +++ b/test/controllers/test_ontologies_controller.rb @@ -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