Initial commit

This commit is contained in:
Kamil Kokot
2016-07-23 01:19:00 +02:00
commit ef4928c2ee
11 changed files with 442 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace FriendsOfBehat\SymfonyExtension\Driver;
use Behat\Mink\Driver\BrowserKitDriver;
use Symfony\Component\HttpKernel\KernelInterface;
/**
* @author Kamil Kokot <kamil@kokot.me>
*/
final class SymfonyDriver extends BrowserKitDriver
{
/**
* @param KernelInterface $kernel
* @param string $baseUrl
*/
public function __construct(KernelInterface $kernel, $baseUrl)
{
parent::__construct($kernel->getContainer()->get('test.client'), $baseUrl);
}
}