Update to Drupal 8.1.1. For more information, see https://www.drupal.org/node/2718713
This commit is contained in:
parent
c0a0d5a94c
commit
9eae24d844
669 changed files with 3873 additions and 1553 deletions
|
@ -20,4 +20,3 @@ class SimpletestPhpunitRunCommandTestWillDie extends UnitTestCase {
|
|||
$this->assertTrue(TRUE, 'Assertion to ensure test pass');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ class SimpletestPhpunitRunCommandTest extends UnitTestCase {
|
|||
include_once __DIR__ .'/../../fixtures/simpletest_phpunit_run_command_test.php';
|
||||
$app_root = __DIR__ . '/../../../../../..';
|
||||
include_once "$app_root/core/modules/simpletest/simpletest.module";
|
||||
$container = new ContainerBuilder;
|
||||
$container = new ContainerBuilder();
|
||||
$container->set('app.root', $app_root);
|
||||
$file_system = $this->prophesize('Drupal\Core\File\FileSystemInterface');
|
||||
$file_system->realpath('public://simpletest')->willReturn(sys_get_temp_dir());
|
||||
|
|
|
@ -25,7 +25,7 @@ class TestInfoParsingTest extends UnitTestCase {
|
|||
* @dataProvider infoParserProvider
|
||||
*/
|
||||
public function testTestInfoParser($expected, $classname, $doc_comment = NULL) {
|
||||
$info = \Drupal\simpletest\TestDiscovery::getTestInfo($classname, $doc_comment);
|
||||
$info = TestDiscovery::getTestInfo($classname, $doc_comment);
|
||||
$this->assertEquals($expected, $info);
|
||||
}
|
||||
|
||||
|
@ -245,7 +245,7 @@ class TestInfoParsingTest extends UnitTestCase {
|
|||
* Bulk delete storages and fields, and clean up afterwards.
|
||||
*/
|
||||
EOT;
|
||||
\Drupal\simpletest\TestDiscovery::getTestInfo($classname, $doc_comment);
|
||||
TestDiscovery::getTestInfo($classname, $doc_comment);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -258,7 +258,7 @@ EOT;
|
|||
* @group field
|
||||
*/
|
||||
EOT;
|
||||
$info = \Drupal\simpletest\TestDiscovery::getTestInfo($classname, $doc_comment);
|
||||
$info = TestDiscovery::getTestInfo($classname, $doc_comment);
|
||||
$this->assertEmpty($info['description']);
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue