Skip to content

Commit 034e2db

Browse files
committed
replace google.com with php.net in URI test fixtures
1 parent 0236667 commit 034e2db

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

ext/uri/tests/008.phpt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ function callWhatWgGetters($url)
3939
var_dump($url->getFragment());
4040
}
4141

42-
$uri = Uri\Rfc3986\Uri::parse("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
42+
$uri = Uri\Rfc3986\Uri::parse("https://username:password@www.php.net:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
4343
callRfc3986Getters($uri);
4444

4545
echo "\n";
4646

47-
$url = Uri\WhatWg\Url::parse("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
47+
$url = Uri\WhatWg\Url::parse("https://username:password@www.php.net:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
4848
callWhatWgGetters($url);
4949

5050
?>
@@ -57,8 +57,8 @@ string(8) "password"
5757
string(8) "password"
5858
string(17) "username:password"
5959
string(17) "username:password"
60-
string(14) "www.google.com"
61-
string(14) "www.google.com"
60+
string(14) "www.php.net"
61+
string(14) "www.php.net"
6262
int(8080)
6363
string(30) "/pathname1/pathname2/pathname3"
6464
string(30) "/pathname1/pathname2/pathname3"
@@ -70,8 +70,8 @@ string(11) "hash-exists"
7070
string(5) "https"
7171
string(8) "username"
7272
string(8) "password"
73-
string(14) "www.google.com"
74-
string(14) "www.google.com"
73+
string(14) "www.php.net"
74+
string(14) "www.php.net"
7575
int(8080)
7676
string(30) "/pathname1/pathname2/pathname3"
7777
string(10) "query=true"

ext/uri/tests/031.phpt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ uri
55
--FILE--
66
<?php
77

8-
$uri1 = new Uri\Rfc3986\Uri("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
8+
$uri1 = new Uri\Rfc3986\Uri("https://username:password@www.php.net:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
99
$serializedUri1 = serialize($uri1);
1010
$uri2 = unserialize($serializedUri1);
1111

@@ -60,7 +60,7 @@ try {
6060
echo $e->getMessage() . "\n";
6161
}
6262

63-
$url1 = new Uri\WhatWg\Url("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
63+
$url1 = new Uri\WhatWg\Url("https://username:password@www.php.net:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
6464
$serializedUrl1 = serialize($url1);
6565
$url2 = unserialize($serializedUrl1);
6666

@@ -123,7 +123,7 @@ try {
123123

124124
?>
125125
--EXPECTF--
126-
string(163) "O:15:"Uri\Rfc3986\Uri":2:{i:0;a:1:{s:3:"uri";s:98:"https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists";}i:1;a:0:{}}"
126+
string(163) "O:15:"Uri\Rfc3986\Uri":2:{i:0;a:1:{s:3:"uri";s:98:"https://username:password@www.php.net:8080/pathname1/pathname2/pathname3?query=true#hash-exists";}i:1;a:0:{}}"
127127
object(Uri\Rfc3986\Uri)#%d (%d) {
128128
["scheme"]=>
129129
string(5) "https"
@@ -132,7 +132,7 @@ object(Uri\Rfc3986\Uri)#%d (%d) {
132132
["password"]=>
133133
string(8) "password"
134134
["host"]=>
135-
string(14) "www.google.com"
135+
string(14) "www.php.net"
136136
["port"]=>
137137
int(8080)
138138
["path"]=>
@@ -150,7 +150,7 @@ Invalid serialization data for Uri\Rfc3986\Uri object
150150
Invalid serialization data for Uri\Rfc3986\Uri object
151151
Invalid serialization data for Uri\Rfc3986\Uri object
152152
Invalid serialization data for Uri\Rfc3986\Uri object
153-
string(162) "O:14:"Uri\WhatWg\Url":2:{i:0;a:1:{s:3:"uri";s:98:"https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists";}i:1;a:0:{}}"
153+
string(162) "O:14:"Uri\WhatWg\Url":2:{i:0;a:1:{s:3:"uri";s:98:"https://username:password@www.php.net:8080/pathname1/pathname2/pathname3?query=true#hash-exists";}i:1;a:0:{}}"
154154
object(Uri\WhatWg\Url)#%d (%d) {
155155
["scheme"]=>
156156
string(5) "https"
@@ -159,7 +159,7 @@ object(Uri\WhatWg\Url)#%d (%d) {
159159
["password"]=>
160160
string(8) "password"
161161
["host"]=>
162-
string(14) "www.google.com"
162+
string(14) "www.php.net"
163163
["port"]=>
164164
int(8080)
165165
["path"]=>

ext/uri/tests/032.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ uri
55
--FILE--
66
<?php
77

8-
$uri = new Uri\Rfc3986\Uri("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
8+
$uri = new Uri\Rfc3986\Uri("https://username:password@www.php.net:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
99
var_dump(json_encode($uri));
1010

11-
$url = new Uri\WhatWg\Url("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
11+
$url = new Uri\WhatWg\Url("https://username:password@www.php.net:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
1212
var_dump(json_encode($url));
1313

1414
?>

ext/uri/tests/033.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ uri
55
--FILE--
66
<?php
77

8-
$uri = new Uri\Rfc3986\Uri("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
8+
$uri = new Uri\Rfc3986\Uri("https://username:password@www.php.net:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
99
var_export($uri);
1010
echo "\n";
1111

12-
$url = new Uri\WhatWg\Url("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
12+
$url = new Uri\WhatWg\Url("https://username:password@www.php.net:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
1313
var_export($url);
1414
echo "\n";
1515

ext/uri/tests/034.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ uri
55
--FILE--
66
<?php
77

8-
$uri = new Uri\Rfc3986\Uri("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
8+
$uri = new Uri\Rfc3986\Uri("https://username:password@www.php.net:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
99
var_dump((array) $uri);
1010

11-
$url = new Uri\WhatWg\Url("https://username:password@www.google.com:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
11+
$url = new Uri\WhatWg\Url("https://username:password@www.php.net:8080/pathname1/pathname2/pathname3?query=true#hash-exists");
1212
var_dump((array) $url);
1313

1414
?>

0 commit comments

Comments
 (0)