Skip to content

Commit

Permalink
#344: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Ohr committed Mar 8, 2021
1 parent 493273f commit c0a34c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class TestIti47 extends HL7v3StandardTestContainer {

// check whether cancel message has had effect
EhcacheHl7v3ContinuationStorage storage = appContext.getBean('hl7v3ContinuationStorage')
assertFalse(storage.ehcache.iterator().hasNext())
assertEquals(0, storage.ehcache.getSize())

assert auditSender.messages.size() == 2
auditSender.messages.each {
Expand Down Expand Up @@ -217,6 +217,6 @@ class TestIti47 extends HL7v3StandardTestContainer {

// check whether HL7 v2 continuation has really been used
EhcacheInteractiveContinuationStorage storage = appContext.getBean('hl7v2ContinuationStorage')
assertTrue(storage.ehcache.iterator().hasNext())
assertTrue(storage.ehcache.getSize() > 0)
}
}

0 comments on commit c0a34c0

Please sign in to comment.