You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2022/10/27 11:04:31 UTC

[cxf-fediz] branch main updated: Updating htmlunit to 2.66.0

This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf-fediz.git


The following commit(s) were added to refs/heads/main by this push:
     new a0bb00e7 Updating htmlunit to 2.66.0
a0bb00e7 is described below

commit a0bb00e78d120ce88913519897a5c2f831accb85
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Thu Oct 27 12:04:16 2022 +0100

    Updating htmlunit to 2.66.0
---
 pom.xml                                                                 | 2 +-
 .../test/java/org/apache/cxf/fediz/systests/common/HTTPTestUtils.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index a2a6ac70..ee4eafea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,7 +49,7 @@
         <ehcache3.version>3.9.3</ehcache3.version>
         <jcache.version>1.1.1</jcache.version>
         <hsqldb.version>2.5.2</hsqldb.version>
-        <htmlunit.version>2.52.0</htmlunit.version>
+        <htmlunit.version>2.66.0</htmlunit.version>
         <jackson.version>2.13.4</jackson.version>
         <jaxb.runtime.version>2.3.5</jaxb.runtime.version>
         <jaxb.version>2.3.3</jaxb.version>
diff --git a/systests/tests/src/test/java/org/apache/cxf/fediz/systests/common/HTTPTestUtils.java b/systests/tests/src/test/java/org/apache/cxf/fediz/systests/common/HTTPTestUtils.java
index 4a839daf..1943f704 100644
--- a/systests/tests/src/test/java/org/apache/cxf/fediz/systests/common/HTTPTestUtils.java
+++ b/systests/tests/src/test/java/org/apache/cxf/fediz/systests/common/HTTPTestUtils.java
@@ -135,7 +135,7 @@ public final class HTTPTestUtils {
 
         Assert.assertEquals("IDP SignOut Response Page", idpPage.getTitleText());
 
-        Assert.assertTrue(idpPage.asText().contains("CXF Fediz IDP successful logout"));
+        Assert.assertTrue(idpPage.asNormalizedText().contains("CXF Fediz IDP successful logout"));
 
         DomNodeList<DomElement> images = idpPage.getElementsByTagName("img");
         Assert.assertEquals(1, images.getLength());