Skip to content

Commit 0aa1a0d

Browse files
Merge branch '4.4' into 5.1
* 4.4: Use createMock() and use import instead of FQCN
2 parents f85b2c4 + f6f060b commit 0aa1a0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/AbstractBrowserTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Component\BrowserKit\CookieJar;
1616
use Symfony\Component\BrowserKit\History;
17+
use Symfony\Component\BrowserKit\Request;
1718
use Symfony\Component\BrowserKit\Response;
1819

1920
class AbstractBrowserTest extends TestCase
@@ -826,7 +827,7 @@ public function testInternalRequest()
826827
'NEW_SERVER_KEY' => 'new-server-key-value',
827828
]);
828829

829-
$this->assertInstanceOf(\Symfony\Component\BrowserKit\Request::class, $client->getInternalRequest());
830+
$this->assertInstanceOf(Request::class, $client->getInternalRequest());
830831
}
831832

832833
public function testInternalRequestNull()

0 commit comments

Comments
 (0)