jamesfredley commented on code in PR #15480:
URL: https://github.com/apache/grails-core/pull/15480#discussion_r2875566216
##########
grails-test-examples/scaffolding/src/integrationTest/groovy/com/example/UserControllerSpec.groovy:
##########
@@ -28,7 +28,7 @@ import grails.testing.mixin.integration.Integration
@Integration
class UserControllerSpec extends ContainerGebSpec {
- void setup() {
+ private void ensureLoggedIn() {
to(LoginPage).login()
}
Review Comment:
Good call - renamed to `loginAsTestUser()` in 4d5d478.
##########
grails-test-examples/scaffolding/src/integrationTest/groovy/com/example/UserControllerSpec.groovy:
##########
@@ -28,7 +28,7 @@ import grails.testing.mixin.integration.Integration
@Integration
class UserControllerSpec extends ContainerGebSpec {
- void setup() {
+ private void ensureLoggedIn() {
to(LoginPage).login()
}
Review Comment:
Good call - renamed to `loginAsTestUser()` in 4d5d478.
--
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]