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,7 +20,7 @@ class MailCaptureTest extends WebTestBase {
|
|||
$body = $this->randomString(128);
|
||||
$message = array(
|
||||
'id' => 'drupal_mail_test',
|
||||
'headers' => array('Content-type'=> 'text/html'),
|
||||
'headers' => array('Content-type' => 'text/html'),
|
||||
'subject' => $subject,
|
||||
'to' => 'foobar@example.com',
|
||||
'body' => $body,
|
||||
|
@ -47,7 +47,7 @@ class MailCaptureTest extends WebTestBase {
|
|||
for ($index = 0; $index < 5; $index++) {
|
||||
$message = array(
|
||||
'id' => 'drupal_mail_test_' . $index,
|
||||
'headers' => array('Content-type'=> 'text/html'),
|
||||
'headers' => array('Content-type' => 'text/html'),
|
||||
'subject' => $this->randomString(64),
|
||||
'to' => $this->randomMachineName(32) . '@example.com',
|
||||
'body' => $this->randomString(512),
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\simpletest\Tests;
|
||||
|
||||
use Drupal\simpletest\KernelTestBase;
|
||||
|
||||
/**
|
||||
* This test should not load since it requires a module that is not found.
|
||||
*
|
||||
* @group simpletest
|
||||
* @dependencies simpletest_missing_module
|
||||
*/
|
||||
class MissingDependentModuleUnitTest extends KernelTestBase {
|
||||
|
||||
/**
|
||||
* Ensure that this test will not be loaded despite its dependency.
|
||||
*/
|
||||
function testFail() {
|
||||
$this->fail('Running test with missing required module.');
|
||||
}
|
||||
}
|
Reference in a new issue