This is an automated email from the ASF dual-hosted git repository. borinquenkid pushed a commit to branch merge-hibernate6 in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 1c8ab3fae27df7b6aea589a36cec12c6e153e371 Author: Walter Duque de Estrada <[email protected]> AuthorDate: Wed Jun 18 09:11:29 2025 -0500 fix single test --- .../groovy/grails/gorm/specs/validation/UniqueWithinGroupSpec.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grails-data-hibernate6/core/src/test/groovy/grails/gorm/specs/validation/UniqueWithinGroupSpec.groovy b/grails-data-hibernate6/core/src/test/groovy/grails/gorm/specs/validation/UniqueWithinGroupSpec.groovy index d7e327012f..90c2441568 100644 --- a/grails-data-hibernate6/core/src/test/groovy/grails/gorm/specs/validation/UniqueWithinGroupSpec.groovy +++ b/grails-data-hibernate6/core/src/test/groovy/grails/gorm/specs/validation/UniqueWithinGroupSpec.groovy @@ -56,7 +56,7 @@ class UniqueWithinGroupSpec extends HibernateGormDatastoreSpec { when: Thing thing1 = new Thing(hello: 1, world: 2) thing1.save(insert: true, flush: true) - sessionFactory.currentSession.flush() + manager.sessionFactory.currentSession.flush() Thing thing2 = new Thing(hello: 1, world: 2) thing2.save(insert: true, flush: true) @@ -71,7 +71,7 @@ class UniqueWithinGroupSpec extends HibernateGormDatastoreSpec { void "test validate"() { when: Thing thing1 = new Thing(hello: 1, world: 2).save(insert: true, flush: true) - sessionFactory.currentSession.flush() + manager.sessionFactory.currentSession.flush() Thing thing2 = new Thing(hello: 1, world: 2) then:
