Skip to content

Commit

Permalink
[sinttest] Fix typos in log and exception messages
Browse files Browse the repository at this point in the history
  • Loading branch information
guusdk authored and Flowdalic committed Nov 25, 2023
1 parent 6859de9 commit 9055878
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ void disconnectAndCleanup() throws InterruptedException {
if (unsuccessfullyDeletedAccountsCount == 0) {
LOGGER.info("Successfully deleted all created accounts ✔");
} else {
LOGGER.warning("Could not delete all created accounts, " + unsuccessfullyDeletedAccountsCount + " remainaing");
LOGGER.warning("Could not delete all created accounts, " + unsuccessfullyDeletedAccountsCount + " remaining");
}
}

Expand Down Expand Up @@ -366,11 +366,11 @@ private void registerAccount(String username, String password) throws NoResponse
break;
case inBandRegistration:
if (!accountManager.supportsAccountCreation()) {
throw new UnsupportedOperationException("Account creation/registation is not supported");
throw new UnsupportedOperationException("Account creation/registration is not supported");
}
Set<String> requiredAttributes = accountManager.getAccountAttributes();
if (requiredAttributes.size() > 4) {
throw new IllegalStateException("Unkown required attributes");
throw new IllegalStateException("Unknown required attributes");
}
Map<String, String> additionalAttributes = new HashMap<>();
additionalAttributes.put("name", "Smack Integration Test");
Expand Down

0 comments on commit 9055878

Please sign in to comment.