From f765dbd98fe0f120f4a958abfd97dfa6de9b2d6e Mon Sep 17 00:00:00 2001 From: mdorf Date: Thu, 21 Nov 2024 22:29:24 -0800 Subject: [PATCH] some tests still failed due to the changes to the test ontology --- test/controllers/test_classes_controller.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/controllers/test_classes_controller.rb b/test/controllers/test_classes_controller.rb index 1811062d..838385d7 100644 --- a/test/controllers/test_classes_controller.rb +++ b/test/controllers/test_classes_controller.rb @@ -106,8 +106,7 @@ def test_all_class_pages assert last_response.ok? count_terms = count_terms + page_response["collection"].length end while page_response["nextPage"] - #bnodes thing got fixed. changed to 486. - assert_equal 486, count_terms + assert_equal 487, count_terms #one more page should bring no results call = "/ontologies/#{ont.acronym}/classes" @@ -515,8 +514,7 @@ def test_class_page_with_metric_count assert last_response.ok? count_terms = count_terms + page_response["collection"].length end while page_response["nextPage"] - #bnodes thing got fixed. changed to 486. - assert_equal 486, count_terms + assert_equal 487, count_terms #one more page should bring no results call = "/ontologies/#{ont.acronym}/classes"