From commits-return-49198-archive-asf-public=cust-asf.ponee.io@cxf.apache.org Wed May 16 15:28:13 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0562C180669 for ; Wed, 16 May 2018 15:28:12 +0200 (CEST) Received: (qmail 82509 invoked by uid 500); 16 May 2018 13:28:12 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 82500 invoked by uid 99); 16 May 2018 13:28:12 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2018 13:28:12 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 7DD6A80603; Wed, 16 May 2018 13:28:11 +0000 (UTC) Date: Wed, 16 May 2018 13:28:11 +0000 To: "commits@cxf.apache.org" Subject: [cxf-fediz] branch master updated: Fixing failing test MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <152647729147.20548.6983857662871548566@gitbox.apache.org> From: coheigea@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: cxf-fediz X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: a6f16a42725f274fbb7d46854837c82093d5409b X-Git-Newrev: e7efbecc1759f5f0d489b26f99aeb84dfeb1a462 X-Git-Rev: e7efbecc1759f5f0d489b26f99aeb84dfeb1a462 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. coheigea pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cxf-fediz.git The following commit(s) were added to refs/heads/master by this push: new e7efbec Fixing failing test e7efbec is described below commit e7efbecc1759f5f0d489b26f99aeb84dfeb1a462 Author: Colm O hEigeartaigh AuthorDate: Wed May 16 14:28:00 2018 +0100 Fixing failing test --- .../fediz/core/federation/AudienceRestrictionTest.java | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/plugins/core/src/test/java/org/apache/cxf/fediz/core/federation/AudienceRestrictionTest.java b/plugins/core/src/test/java/org/apache/cxf/fediz/core/federation/AudienceRestrictionTest.java index 0e80926..0f1fdf6 100644 --- a/plugins/core/src/test/java/org/apache/cxf/fediz/core/federation/AudienceRestrictionTest.java +++ b/plugins/core/src/test/java/org/apache/cxf/fediz/core/federation/AudienceRestrictionTest.java @@ -153,8 +153,7 @@ public class AudienceRestrictionTest { EasyMock.expect(req.getParameter(FederationConstants.PARAM_RESULT)).andReturn(rstr); EasyMock.expect(req.getParameter(FederationConstants.PARAM_ACTION)) .andReturn(FederationConstants.ACTION_SIGNIN); - String relayState = "asfnaosif123123"; - EasyMock.expect(req.getParameter("RelayState")).andReturn(relayState); + EasyMock.expect(req.getParameter("RelayState")).andReturn(null); EasyMock.expect(req.getAttribute("javax.servlet.request.X509Certificate")).andReturn(null); EasyMock.expect(req.getQueryString()).andReturn(null); EasyMock.replay(req); @@ -197,8 +196,7 @@ public class AudienceRestrictionTest { EasyMock.expect(req.getParameter(FederationConstants.PARAM_RESULT)).andReturn(rstr); EasyMock.expect(req.getParameter(FederationConstants.PARAM_ACTION)) .andReturn(FederationConstants.ACTION_SIGNIN); - String relayState = "asfnaosif123123"; - EasyMock.expect(req.getParameter("RelayState")).andReturn(relayState); + EasyMock.expect(req.getParameter("RelayState")).andReturn(null); EasyMock.expect(req.getAttribute("javax.servlet.request.X509Certificate")).andReturn(null); EasyMock.expect(req.getQueryString()).andReturn(null); EasyMock.replay(req); @@ -241,8 +239,7 @@ public class AudienceRestrictionTest { EasyMock.expect(req.getParameter(FederationConstants.PARAM_RESULT)).andReturn(rstr); EasyMock.expect(req.getParameter(FederationConstants.PARAM_ACTION)) .andReturn(FederationConstants.ACTION_SIGNIN); - String relayState = "asfnaosif123123"; - EasyMock.expect(req.getParameter("RelayState")).andReturn(relayState); + EasyMock.expect(req.getParameter("RelayState")).andReturn(null); EasyMock.expect(req.getAttribute("javax.servlet.request.X509Certificate")).andReturn(null); EasyMock.expect(req.getQueryString()).andReturn(null); EasyMock.replay(req); @@ -282,8 +279,7 @@ public class AudienceRestrictionTest { EasyMock.expect(req.getParameter(FederationConstants.PARAM_RESULT)).andReturn(rstr); EasyMock.expect(req.getParameter(FederationConstants.PARAM_ACTION)) .andReturn(FederationConstants.ACTION_SIGNIN); - String relayState = "asfnaosif123123"; - EasyMock.expect(req.getParameter("RelayState")).andReturn(relayState); + EasyMock.expect(req.getParameter("RelayState")).andReturn(null); EasyMock.expect(req.getAttribute("javax.servlet.request.X509Certificate")).andReturn(null); EasyMock.expect(req.getQueryString()).andReturn(null); EasyMock.replay(req); @@ -323,8 +319,7 @@ public class AudienceRestrictionTest { EasyMock.expect(req.getParameter(FederationConstants.PARAM_RESULT)).andReturn(rstr); EasyMock.expect(req.getParameter(FederationConstants.PARAM_ACTION)) .andReturn(FederationConstants.ACTION_SIGNIN); - String relayState = "asfnaosif123123"; - EasyMock.expect(req.getParameter("RelayState")).andReturn(relayState); + EasyMock.expect(req.getParameter("RelayState")).andReturn(null); EasyMock.expect(req.getAttribute("javax.servlet.request.X509Certificate")).andReturn(null); EasyMock.expect(req.getQueryString()).andReturn(null); EasyMock.replay(req); @@ -367,8 +362,7 @@ public class AudienceRestrictionTest { EasyMock.expect(req.getParameter(FederationConstants.PARAM_RESULT)).andReturn(rstr); EasyMock.expect(req.getParameter(FederationConstants.PARAM_ACTION)) .andReturn(FederationConstants.ACTION_SIGNIN); - String relayState = "asfnaosif123123"; - EasyMock.expect(req.getParameter("RelayState")).andReturn(relayState); + EasyMock.expect(req.getParameter("RelayState")).andReturn(null); EasyMock.expect(req.getAttribute("javax.servlet.request.X509Certificate")).andReturn(null); EasyMock.expect(req.getQueryString()).andReturn(null); EasyMock.replay(req); -- To stop receiving notification emails like this one, please contact coheigea@apache.org.