File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
client/src/test/java/org/asynchttpclient Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ private void testOldDigest(String qop) {
71
71
String ha2 = getMd5 (method + ":" + uri .getPath ());
72
72
String expectedResponse = getMd5 (ha1 + ":" + nonce + ":" + ha2 );
73
73
74
- assertEquals (expectedResponse , orig .getResponse ());
74
+ assertEquals (orig .getResponse (), expectedResponse );
75
75
}
76
76
77
77
@ Test (groups = "standalone" )
@@ -96,7 +96,7 @@ public void testStrongDigest() {
96
96
String ha2 = getMd5 (method + ":" + uri .getPath ());
97
97
String expectedResponse = getMd5 (ha1 + ":" + nonce + ":" + nc + ":" + cnonce + ":" + qop + ":" + ha2 );
98
98
99
- assertEquals (expectedResponse , orig .getResponse ());
99
+ assertEquals (orig .getResponse (), expectedResponse );
100
100
}
101
101
102
102
private String getMd5 (String what ) {
You can’t perform that action at this time.
0 commit comments