Skip to content

Commit

Permalink
Merge pull request #4826 from boris-unckel/WFCORE-5660_fix_test_type_…
Browse files Browse the repository at this point in the history
…elytron

[WFCORE-5660] Assertion type must match (elytron)
  • Loading branch information
bstansberry committed Oct 25, 2021
2 parents d1200b6 + 88c1f91 commit b8ff8e8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.SUCCESS;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;

Expand Down Expand Up @@ -252,7 +251,7 @@ public void testCreateAccountNonExistingAlias() throws Exception {
operation.get(ElytronDescriptionConstants.AGREE_TO_TERMS_OF_SERVICE).set(true);
assertSuccess(services.executeOperation(operation));
assertEquals(NEW_ACCT_LOCATION, acmeAccount.getAccountUrl());
assertNotNull(accountsKeyStore.containsAlias(alias));
assertTrue(accountsKeyStore.containsAlias(alias));
assertTrue(accountsKeyStore.getEntry(alias, new KeyStore.PasswordProtection(KEYSTORE_PASSWORD.toCharArray())) instanceof KeyStore.PrivateKeyEntry);
} finally {
removeCertificateAuthorityAccount();
Expand Down

0 comments on commit b8ff8e8

Please sign in to comment.