Skip to content

Commit 8ca8c8f

Browse files
committed
Remove Google references when not needed
1 parent e6d2888 commit 8ca8c8f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/AbstractLayoutTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2189,29 +2189,29 @@ public function testTimezoneWithPlaceholder()
21892189

21902190
public function testUrlWithDefaultProtocol()
21912191
{
2192-
$url = 'http://www.google.com?foo1=bar1&foo2=bar2';
2192+
$url = 'http://www.example.com?foo1=bar1&foo2=bar2';
21932193
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\UrlType', $url, ['default_protocol' => 'http']);
21942194

21952195
$this->assertWidgetMatchesXpath($form->createView(), [],
21962196
'/input
21972197
[@type="text"]
21982198
[@name="name"]
2199-
[@value="http://www.google.com?foo1=bar1&foo2=bar2"]
2199+
[@value="http://www.example.com?foo1=bar1&foo2=bar2"]
22002200
[@inputmode="url"]
22012201
'
22022202
);
22032203
}
22042204

22052205
public function testUrlWithoutDefaultProtocol()
22062206
{
2207-
$url = 'http://www.google.com?foo1=bar1&foo2=bar2';
2207+
$url = 'http://www.example.com?foo1=bar1&foo2=bar2';
22082208
$form = $this->factory->createNamed('name', 'Symfony\Component\Form\Extension\Core\Type\UrlType', $url, ['default_protocol' => null]);
22092209

22102210
$this->assertWidgetMatchesXpath($form->createView(), [],
22112211
'/input
22122212
[@type="url"]
22132213
[@name="name"]
2214-
[@value="http://www.google.com?foo1=bar1&foo2=bar2"]
2214+
[@value="http://www.example.com?foo1=bar1&foo2=bar2"]
22152215
'
22162216
);
22172217
}

0 commit comments

Comments
 (0)