From b476ac6006e3a123f10bcbb6be5021ff942682db Mon Sep 17 00:00:00 2001 From: James Fredley Date: Thu, 3 Oct 2024 10:29:25 -0400 Subject: [PATCH] grails-functional-tests: re-enable file upload and interceptor tests which are now passing (#251) * re-enable file upload and interceptor tests which are now passing * uncomment apply plugin:"org.grails.plugins.views-json" --- .../groovy/functionaltests/InterceptorFunctionalSpec.groovy | 1 - .../groovy/functionaltests/UploadControllerSpec.groovy | 2 -- issue-views-182/build.gradle | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app1/src/integration-test/groovy/functionaltests/InterceptorFunctionalSpec.groovy b/app1/src/integration-test/groovy/functionaltests/InterceptorFunctionalSpec.groovy index e8f2f375..2383501a 100644 --- a/app1/src/integration-test/groovy/functionaltests/InterceptorFunctionalSpec.groovy +++ b/app1/src/integration-test/groovy/functionaltests/InterceptorFunctionalSpec.groovy @@ -43,7 +43,6 @@ class InterceptorFunctionalSpec extends GebSpec { $().text() == 'Name: JSB' } - @PendingFeature(reason='test does not match') void 'Test that after interceptor can render text'() { when: go '/demo/show?interceptorRendersText=true' diff --git a/app1/src/integration-test/groovy/functionaltests/UploadControllerSpec.groovy b/app1/src/integration-test/groovy/functionaltests/UploadControllerSpec.groovy index 56782152..4ba17e19 100644 --- a/app1/src/integration-test/groovy/functionaltests/UploadControllerSpec.groovy +++ b/app1/src/integration-test/groovy/functionaltests/UploadControllerSpec.groovy @@ -9,7 +9,6 @@ import spock.lang.PendingFeature @Integration(applicationClass = Application) class UploadControllerSpec extends GebSpec { - @PendingFeature(reason='text is null') void "Test file upload"() { when:"When go to an upload page" go "/upload/index" @@ -27,7 +26,6 @@ class UploadControllerSpec extends GebSpec { } - @PendingFeature(reason='text is null') void "Test file upload parameters"() { when:"When go to an upload page" go "/upload/index" diff --git a/issue-views-182/build.gradle b/issue-views-182/build.gradle index 76b26b36..fc099fd8 100644 --- a/issue-views-182/build.gradle +++ b/issue-views-182/build.gradle @@ -12,7 +12,7 @@ version "0.1" group "issueviews182" apply plugin:"org.grails.grails-web" -//apply plugin:"org.grails.plugins.views-json" +apply plugin:"org.grails.plugins.views-json" dependencyManagement { imports {