Ben Copsey

Fix test urls

@@ -1036,10 +1036,10 @@ @@ -1036,10 +1036,10 @@
1036 1036
1037 - (void)testBasicAuthentication 1037 - (void)testBasicAuthentication
1038 { 1038 {
1039 - [ASIHTTPRequest removeCredentialsForHost:@"asi" port:0 protocol:@"http" realm:@"SECRET_STUFF"]; 1039 + [ASIHTTPRequest removeCredentialsForHost:@"allseeing-i.com" port:0 protocol:@"http" realm:@"SECRET_STUFF"];
1040 [ASIHTTPRequest clearSession]; 1040 [ASIHTTPRequest clearSession];
1041 1041
1042 - NSURL *url = [NSURL URLWithString:@"http://asi/ASIHTTPRequest/tests/basic-authentication"]; 1042 + NSURL *url = [NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/basic-authentication"];
1043 ASIHTTPRequest *request; 1043 ASIHTTPRequest *request;
1044 BOOL success; 1044 BOOL success;
1045 NSError *err; 1045 NSError *err;
@@ -1088,7 +1088,7 @@ @@ -1088,7 +1088,7 @@
1088 GHAssertNil(err,@"Failed to reuse credentials"); 1088 GHAssertNil(err,@"Failed to reuse credentials");
1089 1089
1090 // Ensure new credentials are used in place of those in the session 1090 // Ensure new credentials are used in place of those in the session
1091 - request = [[[ASIHTTPRequest alloc] initWithURL:[NSURL URLWithString:@"http://asi/ASIHTTPRequest/tests/basic-authentication-new-credentials"]] autorelease]; 1091 + request = [[[ASIHTTPRequest alloc] initWithURL:[NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/basic-authentication-new-credentials"]] autorelease];
1092 [request setUsername:@"secret_username_2"]; 1092 [request setUsername:@"secret_username_2"];
1093 [request setPassword:@"secret_password_2"]; 1093 [request setPassword:@"secret_password_2"];
1094 [request setUseSessionPersistence:YES]; 1094 [request setUseSessionPersistence:YES];
@@ -1434,7 +1434,7 @@ @@ -1434,7 +1434,7 @@
1434 { 1434 {
1435 ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/redirect_to_new_domain"]]; 1435 ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/redirect_to_new_domain"]];
1436 [request startSynchronous]; 1436 [request startSynchronous];
1437 - BOOL success = [[[request url] absoluteString] isEqualToString:@"http://www.apple.com/"]; 1437 + BOOL success = [[[request url] absoluteString] isEqualToString:@"http://www.apple.com"];
1438 GHAssertTrue(success,@"Failed to redirect to a different domain"); 1438 GHAssertTrue(success,@"Failed to redirect to a different domain");
1439 } 1439 }
1440 1440