[java-idp-integration-tests] branch main updated: Be smarter about equals, use method rather than ==

Tom Zeller tzeller at dragonacea.biz
Sat Jun 19 13:37:15 UTC 2021


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch main
in repository java-idp-integration-tests.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=9b94e286658fa2648351026c4c3f45df135a782d

The following commit(s) were added to refs/heads/main by this push:
       new  9b94e28   Be smarter about equals, use method rather than ==
9b94e28 is described below

commit 9b94e286658fa2648351026c4c3f45df135a782d
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Sat Jun 19 08:37:02 2021 -0500

    Be smarter about equals, use method rather than ==
---
 src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
index 2982b9d..9fffcc2 100644
--- a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
@@ -1544,7 +1544,8 @@ public abstract class BaseIntegrationTest
             }
         }
 
-        if (desiredCapabilities.getBrowserName() == BrowserType.FIREFOX) {
+        if (desiredCapabilities.getBrowserName().equalsIgnoreCase("firefox")) {
+            log.debug("Disabling Firefox JSON view");
             final FirefoxOptions options = new FirefoxOptions();
             options.addPreference("devtools.jsonview.enabled", false);
             desiredCapabilities.merge(options);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list