Skip to content

Commit 96b5621

Browse files
author
graeme
committed
removed unnecessary assertion
git-svn-id: https://svn.codehaus.org/grails/trunk@2975 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
1 parent 14ab1b2 commit 96b5621

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/groovy/org/codehaus/groovy/grails/orm/hibernate/ValidationFailureTests.groovy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Author {
4545
a.save(true)
4646

4747
assert session.contains(a)
48+
session.flush()
4849

4950
session.evict(a)
5051
session.evict(b1)
@@ -61,8 +62,6 @@ class Author {
6162

6263
assertTrue FlushMode.isManualFlushMode(session.getFlushMode())
6364

64-
assertEquals 2, a.books.size()
65-
6665
}
6766

6867
void onTearDown() {

0 commit comments

Comments
 (0)