Skip to content

Commit 3bd4a26

Browse files
committed
fix merge
1 parent 65dca5d commit 3bd4a26

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Tests/RequestTest.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,6 @@ public function testCreate()
263263
// Fragment should not be included in the URI
264264
$request = Request::create('http://test.com/foo#bar');
265265
$this->assertEquals('http://test.com/foo', $request->getUri());
266-
267-
$request = Request::create('/foo:123');
268-
$this->assertEquals('http://localhost/foo:123', $request->getUri());
269266
}
270267

271268
public function testCreateWithRequestUri()
@@ -2651,7 +2648,8 @@ public function testReservedFlags()
26512648
public function testInvalidUriCreationDeprecated()
26522649
{
26532650
$this->expectDeprecation('Since symfony/http-foundation 6.3: Calling "Symfony\Component\HttpFoundation\Request::create()" with an invalid URI is deprecated.');
2654-
Request::create('/invalid-path:123');
2651+
$request = Request::create('/invalid-path:123');
2652+
$this->assertEquals('http://localhost/invalid-path:123', $request->getUri());
26552653
}
26562654
}
26572655

0 commit comments

Comments
 (0)