Skip to content

Commit

Permalink
complete metadata extraction test
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed May 18, 2024
1 parent c83b0d5 commit ffc648f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/models/test_ontology_submission.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1157,8 +1157,11 @@ def test_submission_extract_metadata
ont = LinkedData::Models::Ontology.find("AGROOE").first
sub = ont.latest_submission
refute_nil sub
sub.bring_remaining

# sub.bring_remaining
assert_equal "http://lirmm.fr/2015/ontology/agroportal_ontology_example.owl", sub.uri

# remaining not implemented in NCBO branch
# assert_equal '2015-09-28', sub.creationDate.to_date.to_s
# assert_equal '2015-10-01', sub.modificationDate.to_date.to_s
# assert_equal "description example, AGROOE is an ontology used to test the metadata extraction, AGROOE is an ontology to illustrate how to describe their ontologies", sub.description
Expand Down

0 comments on commit ffc648f

Please sign in to comment.