[java-idp-integration-tests] branch master updated: Disable HTML storage for client storage testing.
Scott Cantor
cantor.2 at osu.edu
Wed Dec 5 15:57:17 EST 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-idp-integration-tests.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=ef15a5e7f7b1c957a729c86d280393fde7e90118
The following commit(s) were added to refs/heads/master by this push:
new ef15a5e Disable HTML storage for client storage testing.
ef15a5e is described below
commit ef15a5e7f7b1c957a729c86d280393fde7e90118
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Dec 5 15:57:15 2018 -0500
Disable HTML storage for client storage testing.
---
src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java | 9 +++++++++
.../net/shibboleth/idp/test/clientstorage/ClientStorageTest.java | 4 ++++
2 files changed, 13 insertions(+)
diff --git a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
index 69ead54..bcb6e9b 100644
--- a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
@@ -1043,6 +1043,15 @@ public abstract class BaseIntegrationTest
}
/**
+ * Disable Local Storage in conf/idp.properties.
+ *
+ * @throws Exception
+ */
+ public void disableLocalStorage() throws Exception {
+ replaceIdPProperty("idp.storage.htmlLocalStorage", "false");
+ }
+
+ /**
* Enable logout in conf/idp.properties.
*
* @throws Exception
diff --git a/src/test/java/net/shibboleth/idp/test/clientstorage/ClientStorageTest.java b/src/test/java/net/shibboleth/idp/test/clientstorage/ClientStorageTest.java
index 2dec8ea..ed9180e 100644
--- a/src/test/java/net/shibboleth/idp/test/clientstorage/ClientStorageTest.java
+++ b/src/test/java/net/shibboleth/idp/test/clientstorage/ClientStorageTest.java
@@ -131,6 +131,8 @@ public class ClientStorageTest extends BaseIntegrationTest {
public void testRecordNotFound(@Nullable final BrowserData browserData) throws Exception {
startSeleniumClient(browserData);
+
+ disableLocalStorage();
startServer();
@@ -148,6 +150,8 @@ public class ClientStorageTest extends BaseIntegrationTest {
startSeleniumClient(browserData);
+ disableLocalStorage();
+
startServer();
getAndWaitForTestbedPage();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list