This is an automated email from the ASF dual-hosted git repository.

borinquenkid pushed a commit to branch hibernate6
in repository https://gitbox.apache.org/repos/asf/grails-data-hibernate6.git

commit 9c70566732669ebd5af8944d9e692e5872ba92c0
Author: Walter Duque de Estrada <wbdu...@mac.com>
AuthorDate: Wed Apr 2 20:34:17 2025 -0500

    Made ListCollectionSpec pass
---
 .../test/groovy/grails/gorm/specs/hasmany/ListCollectionSpec.groovy | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/grails-datastore-gorm-hibernate/src/test/groovy/grails/gorm/specs/hasmany/ListCollectionSpec.groovy
 
b/grails-datastore-gorm-hibernate/src/test/groovy/grails/gorm/specs/hasmany/ListCollectionSpec.groovy
index 91becb25..f4f47202 100644
--- 
a/grails-datastore-gorm-hibernate/src/test/groovy/grails/gorm/specs/hasmany/ListCollectionSpec.groovy
+++ 
b/grails-datastore-gorm-hibernate/src/test/groovy/grails/gorm/specs/hasmany/ListCollectionSpec.groovy
@@ -25,9 +25,9 @@ class ListCollectionSpec extends HibernateGormDatastoreSpec {
             .addToLegs(new Leg())
             .addToLegs(new Leg())
             .save(flush: true, failOnError: true)
-        datastore.currentSession.flush()
-        datastore.currentSession.clear()
-        ProxyHandler ph = datastore.mappingContext.proxyHandler
+        setupClass.hibernateDatastore.currentSession.flush()
+        setupClass.hibernateDatastore.currentSession.clear()
+        ProxyHandler ph = 
setupClass.hibernateDatastore.mappingContext.proxyHandler
 
         when:
         Animal animal = Animal.load(1)

Reply via email to