commit
59d5604699
4 changed files with 17 additions and 4 deletions
|
@ -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
|
||||
|
|
13
pom.xml
13
pom.xml
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue