projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgraded drupal core with security updates
[yaffs-website]
/
web
/
core
/
modules
/
comment
/
tests
/
src
/
Unit
/
Entity
/
CommentLockTest.php
diff --git
a/web/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
b/web/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
index e724dc6b89c5c14c4a9b8e415ae65cb64daa6cd5..9dbe6d36eba7d7786980dccbc7233cc097f0a3f5 100644
(file)
--- a/
web/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
+++ b/
web/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
@@
-81,10
+81,6
@@
class CommentLockTest extends UnitTestCase {
$comment->expects($this->any())
->method('getEntityType')
->will($this->returnValue($entity_type));
$comment->expects($this->any())
->method('getEntityType')
->will($this->returnValue($entity_type));
- $comment->expects($this->at(1))
- ->method('get')
- ->with('status')
- ->will($this->returnValue((object) ['value' => NULL]));
$storage = $this->getMock('Drupal\comment\CommentStorageInterface');
// preSave() should acquire the lock. (This is what's really being tested.)
$storage = $this->getMock('Drupal\comment\CommentStorageInterface');
// preSave() should acquire the lock. (This is what's really being tested.)