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
/
comment
/
tests
/
src
/
Functional
/
CommentAccessTest.php
diff --git
a/web/core/modules/comment/tests/src/Functional/CommentAccessTest.php
b/web/core/modules/comment/tests/src/Functional/CommentAccessTest.php
index 4094ec6130e7505bb271240c8c6436633ba48e28..b2e4725785ae470f3ad9769bb3a36e54d08b2e54 100644
(file)
--- a/
web/core/modules/comment/tests/src/Functional/CommentAccessTest.php
+++ b/
web/core/modules/comment/tests/src/Functional/CommentAccessTest.php
@@
-78,7
+78,7
@@
class CommentAccessTest extends BrowserTestBase {
$assert->statusCodeEquals(403);
// Publishing the node grants access.
$assert->statusCodeEquals(403);
// Publishing the node grants access.
- $this->unpublishedNode->setPublished(
TRUE
)->save();
+ $this->unpublishedNode->setPublished()->save();
$this->drupalGet($comment_url);
$assert->statusCodeEquals(200);
}
$this->drupalGet($comment_url);
$assert->statusCodeEquals(200);
}
@@
-112,7
+112,7
@@
class CommentAccessTest extends BrowserTestBase {
$assert->statusCodeEquals(403);
// Publishing the node grants access.
$assert->statusCodeEquals(403);
// Publishing the node grants access.
- $this->unpublishedNode->setPublished(
TRUE
)->save();
+ $this->unpublishedNode->setPublished()->save();
$this->drupalGet($comment_url);
$assert->statusCodeEquals(200);
}
$this->drupalGet($comment_url);
$assert->statusCodeEquals(200);
}