From 3ea3e02912fa305302524773b33ec589011aa791 Mon Sep 17 00:00:00 2001 From: Mattias Reichel Date: Fri, 6 Dec 2024 06:47:57 +0100 Subject: [PATCH] test: remove `@PendingFeature` from tests that are now working (#270) Thanks to grails/grails-core#13908, 3 more tests can be re-enabled. --- .../groovy/functionaltests/InterceptorFunctionalSpec.groovy | 1 - .../groovy/functionaltests/UploadControllerSpec.groovy | 4 ---- 2 files changed, 5 deletions(-) diff --git a/app1/src/integration-test/groovy/functionaltests/InterceptorFunctionalSpec.groovy b/app1/src/integration-test/groovy/functionaltests/InterceptorFunctionalSpec.groovy index 2a04991f..d960367d 100644 --- a/app1/src/integration-test/groovy/functionaltests/InterceptorFunctionalSpec.groovy +++ b/app1/src/integration-test/groovy/functionaltests/InterceptorFunctionalSpec.groovy @@ -44,7 +44,6 @@ class InterceptorFunctionalSpec extends ContainerGebSpec { $().text() == 'Name: JSB' } - @PendingFeature(reason = 'text == Page Not Found') 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 03ee4a92..5206ed66 100644 --- a/app1/src/integration-test/groovy/functionaltests/UploadControllerSpec.groovy +++ b/app1/src/integration-test/groovy/functionaltests/UploadControllerSpec.groovy @@ -1,17 +1,14 @@ package functionaltests - import grails.plugin.geb.ContainerGebSpec import grails.testing.mixin.integration.Integration import org.testcontainers.images.builder.Transferable -import spock.lang.PendingFeature /** */ @Integration(applicationClass = Application) class UploadControllerSpec extends ContainerGebSpec { - @PendingFeature(reason='https://github.com/grails/grails-core/issues/13849') void "Test file upload"() { when:"When go to an upload page" go "/upload/index" @@ -26,7 +23,6 @@ class UploadControllerSpec extends ContainerGebSpec { $('p').text() == 'Test upload' } - @PendingFeature(reason='https://github.com/grails/grails-core/issues/13849') void "Test file upload parameters"() { when:"When go to an upload page" go "/upload/index"