Ignore:
Timestamp:
Feb 8, 2011, 10:48:41 AM (10 years ago)
Author:
s.h.sikkema@…
Message:

Partially fixed the integration tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/integration/gscf/OntologyTests.groovy

    r1456 r1504  
    22
    33import grails.test.*
     4import org.dbnp.bgdt.Ontology
     5import org.dbnp.bgdt.Term
    46
    57/**
     
    191193        public void testAddBioPortalOntology() {
    192194                // Add a new ontology
    193                 def ontology = dbnp.data.Ontology.getBioPortalOntology("1031")
     195                def ontology = Ontology.getBioPortalOntology("1031")
    194196                // Validate and save ontology
    195197                if (!ontology.validate()) { ontology.errors.each { println it} }
     
    199201
    200202                // Make sure that it is not possible to add an ontology twice
    201                 def addAgain = dbnp.data.Ontology.getBioPortalOntology("1031")
     203                def addAgain = Ontology.getBioPortalOntology("1031")
    202204                assert !addAgain.validate()
    203205        }
Note: See TracChangeset for help on using the changeset viewer.