Merge pull request #4119 from stianst/KEYCLOAK-4870

KEYCLOAK-4870
This commit is contained in:
Stian Thorgersen authored and GitHub committed 2017-05-08 15:37:51 +02:00
commit 59d5604699
4 files changed
+17 -4

No files matched your search

+1 -1
View File
@@ -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
+12 -1
View File
@@ -192,7 +192,6 @@
<module>adapters</module>
<module>authz</module>
<module>examples</module>
<module>testsuite</module>
<module>misc</module>
</modules>
@@ -1540,6 +1539,18 @@
</properties>
</profile>
<profile>
<id>testsuite</id>
<activation>
<property>
<name>!skipTestsuite</name>
</property>
</activation>
<modules>
<module>testsuite</module>
</modules>
</profile>
<profile>
<id>distribution</id>
<modules>
@@ -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());
}
+2
View File
@@ -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