Skip to content

Commit 8c059f3

Browse files
committed
fix failing tests
1 parent a99d94d commit 8c059f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-plugin-testing/src/main/groovy/grails/test/mixin/support/GrailsUnitTestMixin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class GrailsUnitTestMixin {
112112
void resetGrailsApplication() {
113113
MockUtils.TEST_INSTANCES.clear()
114114
ClassPropertyFetcher.clearClassPropertyFetcherCache()
115-
grailsApplication.clear()
115+
grailsApplication?.clear()
116116
cleanupModifiedMetaClasses()
117117
}
118118

0 commit comments

Comments
 (0)