Skip to content

Commit 7c7003c

Browse files
committed
GRAILS-11636 Revert "troubleshooting test failure on CI server"
This reverts commit f0dac3b.
1 parent b83bdcd commit 7c7003c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

grails-test-suite-uber/src/test/groovy/grails/test/mixin/AutowireServiceViaDefineBeansTests.groovy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ import org.springframework.context.ApplicationContextAware
1212
@TestFor(SpringController)
1313
class AutowireServiceViaDefineBeansTests {
1414

15-
static doWithSpring = {
16-
springService SpringService
17-
}
18-
1915
@Test
2016
void testThatBeansAreWired() {
17+
defineBeans {
18+
springService(SpringService)
19+
}
20+
2121
applicationContext.getBean("springService") instanceof SpringService
2222
controller.index()
2323
controller.index()

0 commit comments

Comments
 (0)