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
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace Drupal\simpletest;
|
||||
|
||||
use Drupal\Component\Assertion\Handle;
|
||||
use Drupal\Component\Render\MarkupInterface;
|
||||
use Drupal\Component\Utility\Crypt;
|
||||
use Drupal\Component\Utility\SafeMarkup;
|
||||
|
|
@ -13,6 +14,8 @@ use Drupal\Core\Config\StorageInterface;
|
|||
use Drupal\Core\Site\Settings;
|
||||
use Drupal\Core\StreamWrapper\PublicStream;
|
||||
use Drupal\Core\Utility\Error;
|
||||
use Drupal\Tests\RandomGeneratorTrait;
|
||||
use Drupal\Tests\SessionTestTrait;
|
||||
|
||||
/**
|
||||
* Base class for Drupal tests.
|
||||
|
|
@ -950,7 +953,7 @@ abstract class TestBase {
|
|||
}
|
||||
|
||||
$message = '<hr />ID #' . $this->verboseId . ' (<a href="' . $this->verboseClassName . '-' . ($this->verboseId - 1) . '-' . $this->testId . '.html">Previous</a> | <a href="' . $this->verboseClassName . '-' . ($this->verboseId + 1) . '-' . $this->testId . '.html">Next</a>)<hr />' . $message;
|
||||
$verbose_filename = $this->verboseClassName . '-' . $this->verboseId . '-' . $this->testId . '.html';
|
||||
$verbose_filename = $this->verboseClassName . '-' . $this->verboseId . '-' . $this->testId . '.html';
|
||||
if (file_put_contents($this->verboseDirectory . '/' . $verbose_filename, $message)) {
|
||||
$url = $this->verboseDirectoryUrl . '/' . $verbose_filename;
|
||||
// Not using \Drupal\Core\Utility\LinkGeneratorInterface::generate()
|
||||
|
|
@ -1017,7 +1020,7 @@ abstract class TestBase {
|
|||
|
||||
// Force assertion failures to be thrown as AssertionError for PHP 5 & 7
|
||||
// compatibility.
|
||||
\Drupal\Component\Assertion\Handle::register();
|
||||
Handle::register();
|
||||
|
||||
set_error_handler(array($this, 'errorHandler'));
|
||||
// Iterate through all the methods in this class, unless a specific list of
|
||||
|
|
|
|||
Reference in a new issue