Update to drupal-org-drupal 8.0.0-rc2. For more information, see https://www.drupal.org/node/2598668

This commit is contained in:
Pantheon Automation 2015-10-21 21:44:50 -07:00 committed by Greg Anderson
parent f32e58e4b1
commit 8e18df8c36
3062 changed files with 15044 additions and 172506 deletions

View file

@ -1,27 +0,0 @@
<?php
namespace Behat\Mink\Tests\Driver\Custom;
use Behat\Mink\Driver\GoutteDriver;
class InstantiationTest extends \PHPUnit_Framework_TestCase
{
public function testInstantiateWithClient()
{
$client = $this->getMockBuilder('Goutte\Client')->disableOriginalConstructor()->getMock();
$client->expects($this->once())
->method('followRedirects')
->with(true);
$driver = new GoutteDriver($client);
$this->assertSame($client, $driver->getClient());
}
public function testInstantiateWithoutClient()
{
$driver = new GoutteDriver();
$this->assertInstanceOf('Behat\Mink\Driver\Goutte\Client', $driver->getClient());
}
}

View file

@ -1,26 +0,0 @@
<?php
namespace Behat\Mink\Tests\Driver;
use Behat\Mink\Driver\GoutteDriver;
class GoutteConfig extends AbstractConfig
{
public static function getInstance()
{
return new self();
}
/**
* {@inheritdoc}
*/
public function createDriver()
{
return new GoutteDriver();
}
protected function supportsJs()
{
return false;
}
}