Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the userAgent test case.

  • Loading branch information...
commit 29f41c78ed7d55c95e4ca2dcc5e97877aca7334f 1 parent 417571a
@jaygraves jaygraves authored John Whaley committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  Classes/Tests/ASIHTTPRequestTests.m
View
2  Classes/Tests/ASIHTTPRequestTests.m
@@ -400,7 +400,7 @@ - (void)testUserAgent
// Test again using userAgent
request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/user-agent"]];
- [request setUserAgent:customUserAgent];
+ [request setUserAgentString:customUserAgent];
[request startSynchronous];
success = [[request responseString] isEqualToString:customUserAgent];
GHAssertTrue(success,@"Failed to set the correct user-agent for a single request");
Please sign in to comment.
Something went wrong with that request. Please try again.