X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fsrc%2FFunctional%2FUpdate%2FEntityUpdateInitialTest.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fsrc%2FFunctional%2FUpdate%2FEntityUpdateInitialTest.php;h=d4d79f96b5d238520a022ff819fafa45a7a08cd9;hp=0000000000000000000000000000000000000000;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/system/tests/src/Functional/Update/EntityUpdateInitialTest.php b/web/core/modules/system/tests/src/Functional/Update/EntityUpdateInitialTest.php new file mode 100644 index 000000000..d4d79f96b --- /dev/null +++ b/web/core/modules/system/tests/src/Functional/Update/EntityUpdateInitialTest.php @@ -0,0 +1,33 @@ +databaseDumpFiles = [ + __DIR__ . '/../../../fixtures/update/drupal-8.0.0-rc1-filled.standard.entity_test_update.php.gz', + __DIR__ . '/../../../fixtures/update/drupal-8.entity-test-initial.php', + ]; + } + + /** + * Tests that a pre-existing initial key in the field schema is not a change. + */ + public function testInitialIsIgnored() { + $this->runUpdates(); + } + +}