Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663
This commit is contained in:
parent
eb34d130a8
commit
f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions
37
vendor/behat/mink-browserkit-driver/tests/BrowserKitConfig.php
vendored
Normal file
37
vendor/behat/mink-browserkit-driver/tests/BrowserKitConfig.php
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?php
|
||||
|
||||
namespace Behat\Mink\Tests\Driver;
|
||||
|
||||
use Behat\Mink\Driver\BrowserKitDriver;
|
||||
use Symfony\Component\HttpKernel\Client;
|
||||
|
||||
class BrowserKitConfig extends AbstractConfig
|
||||
{
|
||||
public static function getInstance()
|
||||
{
|
||||
return new self();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function createDriver()
|
||||
{
|
||||
$client = new Client(require(__DIR__.'/app.php'));
|
||||
|
||||
return new BrowserKitDriver($client);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getWebFixturesUrl()
|
||||
{
|
||||
return 'http://localhost';
|
||||
}
|
||||
|
||||
protected function supportsJs()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
Reference in a new issue