Tests: Fixed tests for withCredentials

This commit is contained in:
Andrew Hankinson
2014-12-04 16:37:34 -05:00
parent d1917db47e
commit cd2e9e29d4
2 changed files with 2 additions and 8 deletions
+2 -2
View File
@@ -7,10 +7,10 @@
- (void)testSetWithCredentials
{
var cfHTTPRequest = new CFHTTPRequest();
[self assertFalse:cfHTTPRequest.getWithCredentials()];
[self assertFalse:cfHTTPRequest.withCredentials()];
cfHTTPRequest.setWithCredentials(YES);
[self assertTrue:cfHTTPRequest.getWithCredentials()];
[self assertTrue:cfHTTPRequest.withCredentials()];
}
@end