Skip to content

Commit 0b3815c

Browse files
committed
Remove Google references when not needed
1 parent 0a74492 commit 0b3815c

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

Tests/Constraints/UrlValidatorTest.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ public function getValidUrls()
6767
{
6868
return [
6969
['http://a.pl'],
70-
['http://www.google.com'],
71-
['http://www.google.com.'],
72-
['http://www.google.museum'],
73-
['https://google.com/'],
74-
['https://google.com:80/'],
70+
['http://www.example.com'],
71+
['http://www.example.com.'],
72+
['http://www.example.museum'],
73+
['https://example.com/'],
74+
['https://example.com:80/'],
7575
['http://www.example.coop/'],
7676
['http://www.test-example.com/'],
7777
['http://www.symfony.com/'],
@@ -148,15 +148,15 @@ public function testInvalidUrls($url)
148148
public function getInvalidUrls()
149149
{
150150
return [
151-
['google.com'],
152-
['://google.com'],
153-
['http ://google.com'],
154-
['http:/google.com'],
155-
['http://goog_le.com'],
156-
['http://google.com::aa'],
157-
['http://google.com:aa'],
158-
['ftp://google.fr'],
159-
['faked://google.fr'],
151+
['example.com'],
152+
['://example.com'],
153+
['http ://example.com'],
154+
['http:/example.com'],
155+
['http://examp_le.com'],
156+
['http://example.com::aa'],
157+
['http://example.com:aa'],
158+
['ftp://example.fr'],
159+
['faked://example.fr'],
160160
['http://127.0.0.1:aa/'],
161161
['ftp://[::1]/'],
162162
['http://[::1'],
@@ -189,7 +189,7 @@ public function testCustomProtocolIsValid($url)
189189
public function getValidCustomUrls()
190190
{
191191
return [
192-
['ftp://google.com'],
192+
['ftp://example.com'],
193193
['file://127.0.0.1'],
194194
['git://[::1]/'],
195195
];

0 commit comments

Comments
 (0)