keycloak-aplcache
Details
.travis.yml 2(+1 -1)
diff --git a/.travis.yml b/.travis.yml
index 57147b0..ec6ed80 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,7 +25,7 @@ before_script:
- export MAVEN_SKIP_RC=true
install:
- - travis_wait 60 mvn install --no-snapshot-updates -Pdistribution -DskipTests=true -B -V -q
+ - travis_wait 60 mvn install --no-snapshot-updates -Pdistribution -DskipTestsuite -B -V -q
script:
- ./travis-run-tests.sh $TESTS
pom.xml 13(+12 -1)
diff --git a/pom.xml b/pom.xml
index eabcaa9..4f128e2 100755
--- a/pom.xml
+++ b/pom.xml
@@ -192,7 +192,6 @@
<module>adapters</module>
<module>authz</module>
<module>examples</module>
- <module>testsuite</module>
<module>misc</module>
</modules>
@@ -1541,6 +1540,18 @@
</profile>
<profile>
+ <id>testsuite</id>
+ <activation>
+ <property>
+ <name>!skipTestsuite</name>
+ </property>
+ </activation>
+ <modules>
+ <module>testsuite</module>
+ </modules>
+ </profile>
+
+ <profile>
<id>distribution</id>
<modules>
<module>distribution</module>
diff --git a/saml-core/src/test/java/org/keycloak/saml/processing/core/parsers/saml/SAMLParserTest.java b/saml-core/src/test/java/org/keycloak/saml/processing/core/parsers/saml/SAMLParserTest.java
index 52dd7ba..713a5bd 100644
--- a/saml-core/src/test/java/org/keycloak/saml/processing/core/parsers/saml/SAMLParserTest.java
+++ b/saml-core/src/test/java/org/keycloak/saml/processing/core/parsers/saml/SAMLParserTest.java
@@ -103,9 +103,9 @@ public class SAMLParserTest {
assertNotNull(rtChoiceType.getEncryptedAssertion());
PrivateKey privateKey = DerUtils.decodePrivateKey(Base64.decode(PRIVATE_KEY));
- ResponseType rtWithDecryptedAssertion = AssertionUtil.decryptAssertion(resp, privateKey);
+ AssertionUtil.decryptAssertion(resp, privateKey);
- rtChoiceType = rtWithDecryptedAssertion.getAssertions().get(0);
+ rtChoiceType = resp.getAssertions().get(0);
assertNotNull(rtChoiceType.getAssertion());
assertNull(rtChoiceType.getEncryptedAssertion());
}
travis-run-tests.sh 2(+2 -0)
diff --git a/travis-run-tests.sh b/travis-run-tests.sh
index cf5f03b..fd5e5e3 100755
--- a/travis-run-tests.sh
+++ b/travis-run-tests.sh
@@ -1,5 +1,7 @@
#!/bin/bash -e
+mvn install --no-snapshot-updates -DskipTests=true -f testsuite
+
if [ $1 == "old" ]; then
mvn test -B --no-snapshot-updates -f testsuite/integration
mvn test -B --no-snapshot-updates -f testsuite/jetty