Commit 0d258924 authored by alexpott's avatar alexpott

Issue #2551579 by jibran, geertvd: Don't access frontpage before running...

Issue #2551579 by jibran, geertvd: Don't access frontpage before running updates in UpdatePathTestBaseTest::testDatabaseLoaded()
parent 3d73a39c
......@@ -36,6 +36,9 @@ public function testDatabaseLoaded() {
foreach (['user', 'node', 'system', 'update_test_schema'] as $module) {
$this->assertEqual(drupal_get_installed_schema_version($module), 8000, SafeMarkup::format('Module @module schema is 8000', ['@module' => $module]));
}
// Before accessing the site we need to run updates first or the site might
// be broken.
$this->runUpdates();
$this->assertEqual(\Drupal::config('system.site')->get('name'), 'Site-Install');
$this->drupalGet('<front>');
$this->assertText('Site-Install');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment