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

@ -290,7 +290,7 @@ EOS;
}
/**
* Tests that _theme() works right after loading a module.
* Tests that ThemeManager works right after loading a module.
*/
function testEnableModulesTheme() {
/** @var \Drupal\Core\Render\RendererInterface $renderer */
@ -301,7 +301,8 @@ EOS;
'#attributes' => array(),
);
$this->enableModules(array('system'));
// _theme() throws an exception if modules are not loaded yet.
// \Drupal\Core\Theme\ThemeManager::render() throws an exception if modules
// are not loaded yet.
$this->assertTrue($renderer->renderRoot($element));
$element = $original_element;

View file

@ -24,7 +24,7 @@ class SimpleTestBrowserTest extends WebTestBase {
*/
public static $modules = array('simpletest', 'test_page_test');
public function setUp() {
protected function setUp() {
parent::setUp();
// Create and log in an admin user.
$this->drupalLogin($this->drupalCreateUser(array('administer unit tests')));