X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fnode%2Fsrc%2FTests%2FUpdate%2FNodeUpdateTest.php;fp=web%2Fcore%2Fmodules%2Fnode%2Fsrc%2FTests%2FUpdate%2FNodeUpdateTest.php;h=0000000000000000000000000000000000000000;hp=b8b30be4f1e786c350200ed7e16f09c371a1af27;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/node/src/Tests/Update/NodeUpdateTest.php b/web/core/modules/node/src/Tests/Update/NodeUpdateTest.php deleted file mode 100644 index b8b30be4f..000000000 --- a/web/core/modules/node/src/Tests/Update/NodeUpdateTest.php +++ /dev/null @@ -1,41 +0,0 @@ -databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz', - ]; - } - - /** - * Tests that the node entity type has a 'published' entity key. - * - * @see node_update_8301() - */ - public function testPublishedEntityKey() { - // Check that the 'published' entity key does not exist prior to the update. - $entity_type = \Drupal::entityDefinitionUpdateManager()->getEntityType('node'); - $this->assertFalse($entity_type->getKey('published')); - - // Run updates. - $this->runUpdates(); - - // Check that the entity key exists and it has the correct value. - $entity_type = \Drupal::entityDefinitionUpdateManager()->getEntityType('node'); - $this->assertEqual('status', $entity_type->getKey('published')); - } - -}