Showing
1 changed file
with
1 additions
and
1 deletions
@@ -626,7 +626,7 @@ | @@ -626,7 +626,7 @@ | ||
626 | 626 | ||
627 | // Just for testing the request generated a custom error description - don't do this! You should look at the domain / code of the underlyingError in your own programs. | 627 | // Just for testing the request generated a custom error description - don't do this! You should look at the domain / code of the underlyingError in your own programs. |
628 | BOOL success = ([[[request error] localizedDescription] isEqualToString:@"A connection failure occurred: Secure certificate had an untrusted root"]); | 628 | BOOL success = ([[[request error] localizedDescription] isEqualToString:@"A connection failure occurred: Secure certificate had an untrusted root"]); |
629 | - GHAssertTrue(success,@"Basic synchronous request failed"); | 629 | + GHAssertTrue(success,@"Generated the wrong error for a self signed cert"); |
630 | 630 | ||
631 | // Turn off certificate validation, and try again | 631 | // Turn off certificate validation, and try again |
632 | request = [ASIHTTPRequest requestWithURL:url]; | 632 | request = [ASIHTTPRequest requestWithURL:url]; |
-
Please register or login to post a comment