Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / modules / system / tests / src / Functional / Update / EntityUpdateInitialTest.php
1 <?php
2
3 namespace Drupal\Tests\system\Functional\Update;
4
5 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
6
7 /**
8  * Tests handling of existing initial keys during updates.
9  *
10  * @see https://www.drupal.org/project/drupal/issues/2925550
11  *
12  * @group Update
13  * @group legacy
14  */
15 class EntityUpdateInitialTest extends UpdatePathTestBase {
16
17   /**
18    * {@inheritdoc}
19    */
20   protected function setDatabaseDumpFiles() {
21     $this->databaseDumpFiles = [
22       __DIR__ . '/../../../fixtures/update/drupal-8.0.0-rc1-filled.standard.entity_test_update.php.gz',
23       __DIR__ . '/../../../fixtures/update/drupal-8.entity-test-initial.php',
24     ];
25   }
26
27   /**
28    * Tests that a pre-existing initial key in the field schema is not a change.
29    */
30   public function testInitialIsIgnored() {
31     $this->runUpdates();
32   }
33
34 }