From f481b3392b496d5fb610d4cf3a0155fe2eaa3e98 Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 21 Jan 2024 17:33:11 +0800 Subject: [PATCH] Remove OAuth Filter --- .../ws/jersey/template/application/ResourceConfigSpec.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/groovy/com/qubitpi/ws/jersey/template/application/ResourceConfigSpec.groovy b/src/test/groovy/com/qubitpi/ws/jersey/template/application/ResourceConfigSpec.groovy index 60295ed7..861c8b19 100644 --- a/src/test/groovy/com/qubitpi/ws/jersey/template/application/ResourceConfigSpec.groovy +++ b/src/test/groovy/com/qubitpi/ws/jersey/template/application/ResourceConfigSpec.groovy @@ -32,7 +32,7 @@ class ResourceConfigSpec extends Specification { binderFactory.buildBinder() >> Mock(Binder) when: "injecting resources" - org.glassfish.jersey.server.ResourceConfig resourceConfig = new ResourceConfig(true) + org.glassfish.jersey.server.ResourceConfig resourceConfig = new ResourceConfig() then: "all request & response filters are injected" resourceConfig.classes.containsAll(ALWAYS_REGISTERED_FILTERS)