Update to Drupal 8.0.0-beta15. For more information, see: https://www.drupal.org/node/2563023
This commit is contained in:
parent
2720a9ec4b
commit
f3791f1da3
1898 changed files with 54300 additions and 11481 deletions
|
@ -157,6 +157,25 @@ class StandardTest extends WebTestBase {
|
|||
$this->drupalLogin($this->rootUser);
|
||||
$this->drupalGet('update.php/selection');
|
||||
$this->assertText('No pending updates.');
|
||||
}
|
||||
|
||||
// Ensure that there are no pending entity updates after installation.
|
||||
$this->assertFalse($this->container->get('entity.definition_update_manager')->needsUpdates(), 'After installation, entity schema is up to date.');
|
||||
|
||||
// Make sure the optional image styles are not installed.
|
||||
$this->drupalGet('admin/config/media/image-styles');
|
||||
$this->assertNoText('Max 325x325');
|
||||
$this->assertNoText('Max 650x650');
|
||||
$this->assertNoText('Max 1300x1300');
|
||||
$this->assertNoText('Max 2600x2600');
|
||||
|
||||
// Make sure the optional image styles are installed after enabling
|
||||
// the responsive_image module.
|
||||
\Drupal::service('module_installer')->install(array('responsive_image'));
|
||||
$this->rebuildContainer();
|
||||
$this->drupalGet('admin/config/media/image-styles');
|
||||
$this->assertText('Max 325x325');
|
||||
$this->assertText('Max 650x650');
|
||||
$this->assertText('Max 1300x1300');
|
||||
$this->assertText('Max 2600x2600');
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue