borinquenkid commented on code in PR #15568:
URL: https://github.com/apache/grails-core/pull/15568#discussion_r3223270575
##########
grails-data-hibernate5/core/src/test/groovy/grails/gorm/specs/multitenancy/MultiTenancyBidirectionalManyToManySpec.groovy:
##########
@@ -58,14 +57,17 @@ class MultiTenancyBidirectionalManyToManySpec extends
Specification {
@Shared @AutoCleanup HibernateDatastore datastore
-
- void setup() {
+ void setupSpec() {
System.setProperty(SystemPropertyTenantResolver.PROPERTY_NAME, "oci")
datastore = new
HibernateDatastore(DatastoreUtils.createPropertyResolver(config),
getClass().getPackage() )
departmentService = datastore.getService(DepartmentService)
userService = datastore.getService(UserService)
}
+ void setup() {
+ System.setProperty(SystemPropertyTenantResolver.PROPERTY_NAME, "oci")
Review Comment:
Lets not touch this until after O(M+N) add a TODO
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]