X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcomment%2Ftests%2Fsrc%2FUnit%2FEntity%2FCommentLockTest.php;h=9dbe6d36eba7d7786980dccbc7233cc097f0a3f5;hp=e724dc6b89c5c14c4a9b8e415ae65cb64daa6cd5;hb=bfbba508964731508b9bd6d5835c2edc858db95b;hpb=cb9a80db11fc6b014e5b1e693a5a391c95eb5d9a 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 e724dc6b8..9dbe6d36e 100644 --- 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->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.)