X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcomment%2Ftests%2Fsrc%2FFunctional%2FCommentActionsTest.php;h=326749b7c03c956aa2ed90a3f33a1983b30bc38d;hb=refs%2Fheads%2Fd864;hp=79786fcc0525e623dc04f62b3d2110ab2d6d8e34;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;p=yaffs-website diff --git a/web/core/modules/comment/tests/src/Functional/CommentActionsTest.php b/web/core/modules/comment/tests/src/Functional/CommentActionsTest.php index 79786fcc0..326749b7c 100644 --- a/web/core/modules/comment/tests/src/Functional/CommentActionsTest.php +++ b/web/core/modules/comment/tests/src/Functional/CommentActionsTest.php @@ -32,7 +32,7 @@ class CommentActionsTest extends CommentTestBase { $action = Action::load('comment_unpublish_action'); $action->execute([$comment]); $this->assertTrue($comment->isPublished() === FALSE, 'Comment was unpublished'); - + $this->assertArraySubset(['module' => ['comment']], $action->getDependencies()); // Publish a comment. $action = Action::load('comment_publish_action'); $action->execute([$comment]);