Skip to content

Commit

Permalink
some tests still failed due to the changes to the test ontology
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorf committed Nov 22, 2024
1 parent 2ce0957 commit f765dbd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/controllers/test_classes_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit f765dbd

Please sign in to comment.