Merge branch '2.0'
* 2.0: Change author's website URL Do not require base URL set with Mink Add base_url to docs for configuring Mink
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Kamil Kokot",
|
"name": "Kamil Kokot",
|
||||||
"email": "kamil@kokot.me",
|
"email": "kamil@kokot.me",
|
||||||
"homepage": "http://kamil.kokot.me"
|
"homepage": "https://kamilkokot.com"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ use Symfony\Component\HttpKernel\KernelInterface;
|
|||||||
|
|
||||||
final class SymfonyDriver extends BrowserKitDriver
|
final class SymfonyDriver extends BrowserKitDriver
|
||||||
{
|
{
|
||||||
public function __construct(KernelInterface $kernel, string $baseUrl)
|
public function __construct(KernelInterface $kernel, ?string $baseUrl)
|
||||||
{
|
{
|
||||||
if (!$kernel->getContainer()->has('test.client')) {
|
if (!$kernel->getContainer()->has('test.client')) {
|
||||||
throw new \RuntimeException(sprintf(
|
throw new \RuntimeException(sprintf(
|
||||||
|
|||||||
Reference in New Issue
Block a user