Skip to content

Commit

Permalink
Switch invalid URL unit test to connect to localhost on a random port…
Browse files Browse the repository at this point in the history
… rather than a domain. refs #744
  • Loading branch information
blakewatters committed May 17, 2012
1 parent 3fb2b02 commit 2fd239e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Logic/Network/RKResponseTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ - (void)testNoFollowRedirect {
}

- (void)testThatLoadingInvalidURLDoesNotCrashApp {
NSURL *URL = [[NSURL alloc] initWithString:@"http://biz.gg"];
NSURL *URL = [[NSURL alloc] initWithString:@"http://localhost:5629"];
RKTestResponseLoader* loader = [RKTestResponseLoader responseLoader];
RKClient *client = [RKClient clientWithBaseURL:URL];

Expand Down

0 comments on commit 2fd239e

Please sign in to comment.