Repository: cxf Updated Branches: refs/heads/3.1.x-fixes a9da42b02 -> c8887c9b2
Fixing failing STS test Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/c8887c9b Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/c8887c9b Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/c8887c9b Branch: refs/heads/3.1.x-fixes Commit: c8887c9b250d53148b7c0f59b5f55dbd34f02a80 Parents: a9da42b Author: Colm O hEigeartaigh <[email protected]> Authored: Thu Nov 19 20:18:12 2015 +0000 Committer: Colm O hEigeartaigh <[email protected]> Committed: Thu Nov 19 20:18:12 2015 +0000 ---------------------------------------------------------------------- .../test/java/org/apache/cxf/systest/sts/jwt/JaxrsJWTTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/c8887c9b/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/jwt/JaxrsJWTTest.java ---------------------------------------------------------------------- diff --git a/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/jwt/JaxrsJWTTest.java b/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/jwt/JaxrsJWTTest.java index 890a111..76fcb6e 100644 --- a/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/jwt/JaxrsJWTTest.java +++ b/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/jwt/JaxrsJWTTest.java @@ -20,7 +20,7 @@ package org.apache.cxf.systest.sts.jwt; import java.io.IOException; import java.net.URL; -import java.util.Collections; +import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -91,7 +91,8 @@ public class JaxrsJWTTest extends AbstractBusClientServerTestBase { final String address = "https://localhost:" + PORT + "/doubleit/services/doubleit-rs"; final int numToDouble = 25; - List<Object> providers = Collections.singletonList(new JwtOutFilter()); + List<ClientRequestFilter> providers = new ArrayList<ClientRequestFilter>(); + providers.add(new JwtOutFilter()); WebClient client = WebClient.create(address, providers); client.type("text/plain").accept("text/plain");
