X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fnode%2Ftests%2Fsrc%2FFunctional%2FNodeCacheTagsTest.php;h=6cda724cc44688f98fa7a855fd19a63fc625d479;hb=refs%2Fheads%2Fd864;hp=ca5a0a99127ae7db323f9d45de667c061d586ae5;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/node/tests/src/Functional/NodeCacheTagsTest.php b/web/core/modules/node/tests/src/Functional/NodeCacheTagsTest.php index ca5a0a991..6cda724cc 100644 --- a/web/core/modules/node/tests/src/Functional/NodeCacheTagsTest.php +++ b/web/core/modules/node/tests/src/Functional/NodeCacheTagsTest.php @@ -5,7 +5,7 @@ namespace Drupal\Tests\node\Functional; use Drupal\Core\Entity\EntityInterface; use Drupal\node\Entity\Node; use Drupal\node\Entity\NodeType; -use Drupal\system\Tests\Entity\EntityWithUriCacheTagsTestBase; +use Drupal\Tests\system\Functional\Entity\EntityWithUriCacheTagsTestBase; /** * Tests the Node entity's cache tags. @@ -32,7 +32,7 @@ class NodeCacheTagsTest extends EntityWithUriCacheTagsTestBase { // Create a "Llama" node. $node = Node::create(['type' => 'camelids']); $node->setTitle('Llama') - ->setPublished(TRUE) + ->setPublished() ->save(); return $node;