[sinttest] Fix typos in log and exception messages

This commit is contained in:
Guus der Kinderen 2023-09-29 20:21:14 +02:00 committed by Florian Schmaus
parent 6859de95d0
commit 9055878748
1 changed files with 3 additions and 3 deletions

View File

@ -287,7 +287,7 @@ public class XmppConnectionManager {
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");
}
}
@ -366,11 +366,11 @@ public class XmppConnectionManager {
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");