Commits

Martin Gräßlin  committed e03f4aa

Adjust SbmlServiceTests to changes in latest SBML version

Since the update of JSBML with 8f99b448c9901dd4555ad955f9227dd02ca1f07f
the modelNotes are returned in a different format.

  • Participants
  • Parent commits 5925e6f

Comments (0)

Files changed (1)

File test/integration/net/biomodels/jummp/plugins/SbmlServiceTests.groovy

   </model>
 </sbml>''')
         RevisionTransportCommand rev2 = modelService.addRevision(model, modelWithNotes, ModelFormat.findByIdentifier("SBML"), "test").toCommandObject()
-        assertEquals('''<notes><body xmlns="http://www.w3.org/1999/xhtml"><p>Test</p></body></notes>''', sbmlService.getNotes(rev2))
+        assertEquals('''<notes>\n  <body xmlns="http://www.w3.org/1999/xhtml">\n<p>Test</p>\n    </body>\n  \n</notes>''', sbmlService.getNotes(rev2))
     }
 
     private void setupVcs() {