projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull merge.
[yaffs-website]
/
web
/
core
/
modules
/
node
/
tests
/
src
/
Functional
/
NodeCacheTagsTest.php
diff --git
a/web/core/modules/node/tests/src/Functional/NodeCacheTagsTest.php
b/web/core/modules/node/tests/src/Functional/NodeCacheTagsTest.php
index ca5a0a99127ae7db323f9d45de667c061d586ae5..6cda724cc44688f98fa7a855fd19a63fc625d479 100644
(file)
--- 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\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.
/**
* 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')
// Create a "Llama" node.
$node = Node::create(['type' => 'camelids']);
$node->setTitle('Llama')
- ->setPublished(
TRUE
)
+ ->setPublished()
->save();
return $node;
->save();
return $node;