projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
modules
/
editor
/
tests
/
src
/
Functional
/
EditorPrivateFileReferenceFilterTest.php
diff --git
a/web/core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php
b/web/core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php
index 816de5d6e4f7b19b0520e175e5f319f9287a4f6e..4880c85fc8e13c6a222777c2430a34ae556e87f7 100644
(file)
--- a/
web/core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php
+++ b/
web/core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php
@@
-112,7
+112,7
@@
class EditorPrivateFileReferenceFilterTest extends BrowserTestBase {
// When the published node is also unpublished, the image should also
// become inaccessible to anonymous users.
// When the published node is also unpublished, the image should also
// become inaccessible to anonymous users.
- $published_node->set
Published(FALSE
)->save();
+ $published_node->set
Unpublished(
)->save();
$this->drupalGet($published_node->toUrl());
$this->assertSession()->statusCodeEquals(403);
$this->drupalGet($published_node->toUrl());
$this->assertSession()->statusCodeEquals(403);
@@
-121,7
+121,7
@@
class EditorPrivateFileReferenceFilterTest extends BrowserTestBase {
// Disallow anonymous users to view the entity, which then should also
// disallow them to view the image.
// Disallow anonymous users to view the entity, which then should also
// disallow them to view the image.
- $published_node->setPublished(
TRUE
)->save();
+ $published_node->setPublished()->save();
Role::load(RoleInterface::ANONYMOUS_ID)
->revokePermission('access content')
->save();
Role::load(RoleInterface::ANONYMOUS_ID)
->revokePermission('access content')
->save();