Skip to content

Commit 2fd239e

Browse files
committed
Switch invalid URL unit test to connect to localhost on a random port rather than a domain. refs RestKit#744
1 parent 3fb2b02 commit 2fd239e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Logic/Network/RKResponseTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ - (void)testNoFollowRedirect {
296296
}
297297

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

0 commit comments

Comments
 (0)