Mercurial > hg > isophonics-drupal-site
comparison core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBaseTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
1 <?php | 1 <?php |
2 | 2 |
3 namespace Drupal\FunctionalTests\Update; | 3 namespace Drupal\FunctionalTests\Update; |
4 | 4 |
5 use Drupal\Component\Utility\Html; | 5 use Drupal\Component\Utility\Html; |
6 use Drupal\Component\Utility\SafeMarkup; | 6 use Drupal\Component\Render\FormattableMarkup; |
7 | 7 |
8 /** | 8 /** |
9 * Tests the update path base class. | 9 * Tests the update path base class. |
10 * | 10 * |
11 * @group Update | 11 * @group Update |
12 * @group legacy | |
12 */ | 13 */ |
13 class UpdatePathTestBaseTest extends UpdatePathTestBase { | 14 class UpdatePathTestBaseTest extends UpdatePathTestBase { |
14 | 15 |
15 /** | 16 /** |
16 * {@inheritdoc} | 17 * {@inheritdoc} |
30 /** | 31 /** |
31 * Tests that the database was properly loaded. | 32 * Tests that the database was properly loaded. |
32 */ | 33 */ |
33 public function testDatabaseLoaded() { | 34 public function testDatabaseLoaded() { |
34 foreach (['user', 'node', 'system', 'update_test_schema'] as $module) { | 35 foreach (['user', 'node', 'system', 'update_test_schema'] as $module) { |
35 $this->assertEqual(drupal_get_installed_schema_version($module), 8000, SafeMarkup::format('Module @module schema is 8000', ['@module' => $module])); | 36 $this->assertEqual(drupal_get_installed_schema_version($module), 8000, new FormattableMarkup('Module @module schema is 8000', ['@module' => $module])); |
36 } | 37 } |
37 | 38 |
38 // Ensure that all {router} entries can be unserialized. If they cannot be | 39 // Ensure that all {router} entries can be unserialized. If they cannot be |
39 // unserialized a notice will be thrown by PHP. | 40 // unserialized a notice will be thrown by PHP. |
40 | 41 |