-
-
Notifications
You must be signed in to change notification settings - Fork 964
Fix/hibernate session integration tests 14920 #15002
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 7.0.x
Are you sure you want to change the base?
Changes from 1 commit
9f421cf
461f4a9
a4f0e49
96837fc
f0adc35
52ed702
0b0630f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,8 @@ dependencies { | |
|
||
api project(':grails-databinding') | ||
api project(':grails-datamapping-core') | ||
api project(':grails-test-core') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. test-core is meant to be the parent to this dependency. Why are you removing it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Restored grails-test-core dependency in grails-testing-support-core |
||
api project(':grails-core') | ||
api('org.spockframework:spock-core') { transitive = false } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is incudes by test-core so it should be unnecessary |
||
api 'org.springframework.boot:spring-boot-test' | ||
api('org.spockframework:spock-spring') { transitive = false } | ||
api 'org.junit.jupiter:junit-jupiter-api' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
*/ | ||
package org.grails.testing.context.junit4; | ||
|
||
import grails.boot.test.GrailsApplicationContextLoader; | ||
import org.springframework.boot.test.context.SpringBootContextLoader; | ||
import org.springframework.context.ApplicationContextInitializer; | ||
import org.springframework.context.ConfigurableApplicationContext; | ||
import org.springframework.test.context.ContextConfiguration; | ||
|
@@ -29,7 +29,7 @@ | |
* @author Graeme Rocher | ||
* @since 3.0 | ||
*/ | ||
@ContextConfiguration(loader = GrailsApplicationContextLoader.class) | ||
@ContextConfiguration(loader = SpringBootContextLoader.class) | ||
|
||
@Documented | ||
@Inherited | ||
@Retention(RetentionPolicy.RUNTIME) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
org.grails.testing.spock.TestingSupportExtension | ||
org.grails.test.spock.WithSessionSpecExtension | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What about the original extension? Why are we replacing the old behavior instead of augmenting it? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The extra newline should be removed