Update to Drupal 8.0.2. For more information, see https://www.drupal.org/drupal-8.0.2-release-notes

This commit is contained in:
Pantheon Automation 2016-01-06 16:31:26 -08:00 committed by Greg Anderson
parent 1a0e9d9fac
commit a6b049dd05
538 changed files with 5247 additions and 1594 deletions

View file

@ -376,7 +376,7 @@ class DateTimePlusTest extends UnitTestCase {
// Test for invalid minute from date array.
array(array('year' => 2010, 'month' => 7, 'day' => 8, 'hour' => 8, 'minute' => 88, 'second' => 0), 'America/Chicago'),
// Regression test for https://www.drupal.org/node/2084455.
array(array('hour' => 59, 'minute' => 1,'second' => 1), 'America/Chicago'),
array(array('hour' => 59, 'minute' => 1, 'second' => 1), 'America/Chicago'),
);
}

View file

@ -49,7 +49,7 @@ class ContainerTest extends \PHPUnit_Framework_TestCase {
/**
* {@inheritdoc}
*/
public function setUp() {
protected function setUp() {
$this->machineFormat = TRUE;
$this->containerClass = '\Drupal\Component\DependencyInjection\Container';
$this->containerDefinition = $this->getMockContainerDefinition();

View file

@ -58,7 +58,7 @@ namespace Drupal\Tests\Component\DependencyInjection\Dumper {
/**
* {@inheritdoc}
*/
public function setUp() {
protected function setUp() {
// Setup a mock container builder.
$this->containerBuilder = $this->prophesize('\Symfony\Component\DependencyInjection\ContainerBuilder');
$this->containerBuilder->getAliases()->willReturn(array());

View file

@ -18,7 +18,7 @@ class PhpArrayDumperTest extends OptimizedPhpArrayDumperTest {
/**
* {@inheritdoc}
*/
public function setUp() {
protected function setUp() {
$this->machineFormat = FALSE;
$this->dumperClass = '\Drupal\Component\DependencyInjection\Dumper\PhpArrayDumper';
parent::setUp();

View file

@ -18,7 +18,7 @@ class PhpArrayContainerTest extends ContainerTest {
/**
* {@inheritdoc}
*/
public function setUp() {
protected function setUp() {
$this->machineFormat = FALSE;
$this->containerClass = '\Drupal\Component\DependencyInjection\PhpArrayContainer';
$this->containerDefinition = $this->getMockContainerDefinition();

View file

@ -25,7 +25,7 @@ use Symfony\Component\EventDispatcher\Tests\TestEventListener;
*
* @see https://github.com/symfony/symfony/pull/12521
*
* @group Symfony
* @group EventDispatcher
*/
class ContainerAwareEventDispatcherTest extends AbstractEventDispatcherTest
{

View file

@ -81,7 +81,7 @@ class HtmlTest extends UnitTestCase {
// Verify that an identifier starting with two hyphens is replaced.
array('__cssidentifier', '--cssidentifier', array()),
// Verify that passing double underscores as a filter is processed.
array('_cssidentifier', '__cssidentifier', array('__' => '_')),
array('_cssidentifier', '__cssidentifier', array('__' => '_')),
);
}

View file

@ -30,7 +30,7 @@ class SortArrayTest extends UnitTestCase {
* The first input array for the SortArray::sortByWeightElement() method.
* @param array $b
* The second input array for the SortArray::sortByWeightElement().
* @param integer $expected
* @param int $expected
* The expected output from calling the method.
*/
public function testSortByWeightElement($a, $b, $expected) {
@ -106,7 +106,7 @@ class SortArrayTest extends UnitTestCase {
* The first input array for the SortArray::sortByWeightProperty() method.
* @param array $b
* The second input array for the SortArray::sortByWeightProperty().
* @param integer $expected
* @param int $expected
* The expected output from calling the method.
*/
public function testSortByWeightProperty($a, $b, $expected) {
@ -182,7 +182,7 @@ class SortArrayTest extends UnitTestCase {
* The first input item for comparison.
* @param array $b
* The second item for comparison.
* @param integer $expected
* @param int $expected
* The expected output from calling the method.
*/
public function testSortByTitleElement($a, $b, $expected) {
@ -251,7 +251,7 @@ class SortArrayTest extends UnitTestCase {
* The first input item for comparison.
* @param array $b
* The second item for comparison.
* @param integer $expected
* @param int $expected
* The expected output from calling the method.
*/
public function testSortByTitleProperty($a, $b, $expected) {

View file

@ -24,7 +24,7 @@ class UnicodeTest extends UnitTestCase {
*
* @covers ::check
*/
public function setUp() {
protected function setUp() {
// Initialize unicode component.
Unicode::check();
}