Skip to content

Commit cb0477e

Browse files
committed
Remove Google references when not needed
1 parent e395e93 commit cb0477e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Tests/Constraints/UrlValidatorTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function testValidRelativeUrl($url)
9191
public function getValidRelativeUrls()
9292
{
9393
return [
94-
['//google.com'],
94+
['//example.com'],
9595
['//symfony.fake/blog/'],
9696
['//symfony.com/search?type=&q=url+validator'],
9797
];
@@ -166,11 +166,11 @@ public function getValidUrls()
166166
public function getValidUrlsWithWhitespaces()
167167
{
168168
return [
169-
["\x20http://www.google.com"],
170-
["\x09\x09http://www.google.com."],
169+
["\x20http://www.example.com"],
170+
["\x09\x09http://www.example.com."],
171171
["http://symfony.fake/blog/\x0A"],
172172
["http://symfony.com/search?type=&q=url+validator\x0D\x0D"],
173-
["\x00https://google.com:80\x00"],
173+
["\x00https://example.com:80\x00"],
174174
["\x0B\x0Bhttp://username:[email protected]\x0B\x0B"],
175175
];
176176
}
@@ -214,10 +214,10 @@ public function testInvalidRelativeUrl($url)
214214
public function getInvalidRelativeUrls()
215215
{
216216
return [
217-
['/google.com'],
218-
['//goog_le.com'],
219-
['//google.com::aa'],
220-
['//google.com:aa'],
217+
['/example.com'],
218+
['//examp_le.com'],
219+
['//example.com::aa'],
220+
['//example.com:aa'],
221221
['//127.0.0.1:aa/'],
222222
['//[::1'],
223223
['//hello.☎/'],

0 commit comments

Comments
 (0)