Skip to content

Commit b641b46

Browse files
committed
Fix TestNG actual/expected
1 parent a887e92 commit b641b46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/test/java/org/asynchttpclient/RealmTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private void testOldDigest(String qop) {
7171
String ha2 = getMd5(method + ":" + uri.getPath());
7272
String expectedResponse = getMd5(ha1 + ":" + nonce + ":" + ha2);
7373

74-
assertEquals(expectedResponse, orig.getResponse());
74+
assertEquals(orig.getResponse(), expectedResponse);
7575
}
7676

7777
@Test(groups = "standalone")
@@ -96,7 +96,7 @@ public void testStrongDigest() {
9696
String ha2 = getMd5(method + ":" + uri.getPath());
9797
String expectedResponse = getMd5(ha1 + ":" + nonce + ":" + nc + ":" + cnonce + ":" + qop + ":" + ha2);
9898

99-
assertEquals(expectedResponse, orig.getResponse());
99+
assertEquals(orig.getResponse(), expectedResponse);
100100
}
101101

102102
private String getMd5(String what) {

0 commit comments

Comments
 (0)