mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-19 13:09:19 +08:00
Switch invalid URL unit test to connect to localhost on a random port rather than a domain. refs #744
This commit is contained in:
@@ -296,7 +296,7 @@
|
||||
}
|
||||
|
||||
- (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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user