Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Evolveum/midpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-lizner committed Jun 15, 2016
2 parents 6df6f93 + 5fed6c3 commit c0e0574
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -896,7 +896,7 @@ public void test150GetConfigNoPasswordWrongDigest() throws Exception {
displayTestTitle(TEST_NAME);

LogfileTestTailer tailer = createLogTailer();
modelPort = createModelPort(USER_NOBODY_USERNAME, "wrongPassword", WSConstants.PW_DIGEST);
modelPort = createModelPort(USER_NOPASSWORD_USERNAME, "wrongPassword", WSConstants.PW_DIGEST);

Holder<ObjectType> objectHolder = new Holder<ObjectType>();
Holder<OperationResultType> resultHolder = new Holder<OperationResultType>();
Expand All @@ -913,7 +913,7 @@ public void test150GetConfigNoPasswordWrongDigest() throws Exception {
}

tailer.tail();
assertAuditLoginFailed(tailer, "no authorizations");
assertAuditLoginFailed(tailer, "no credentials in user");
}

@Test
Expand All @@ -922,7 +922,7 @@ public void test152GetConfigNoPasswordEmptyDigest() throws Exception {
displayTestTitle(TEST_NAME);

LogfileTestTailer tailer = createLogTailer();
modelPort = createModelPort(USER_NOBODY_USERNAME, " ", WSConstants.PW_DIGEST);
modelPort = createModelPort(USER_NOPASSWORD_USERNAME, " ", WSConstants.PW_DIGEST);

Holder<ObjectType> objectHolder = new Holder<ObjectType>();
Holder<OperationResultType> resultHolder = new Holder<OperationResultType>();
Expand All @@ -939,7 +939,7 @@ public void test152GetConfigNoPasswordEmptyDigest() throws Exception {
}

tailer.tail();
assertAuditLoginFailed(tailer, "no authorizations");
assertAuditLoginFailed(tailer, "no credentials in user");
}

@Test
Expand Down

0 comments on commit c0e0574

Please sign in to comment.