comparison core/modules/comment/tests/src/Functional/CommentAdminTest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
55 'cid' => $anonymous_comment4, 55 'cid' => $anonymous_comment4,
56 'subject' => $subject, 56 'subject' => $subject,
57 'comment_body' => $body, 57 'comment_body' => $body,
58 'entity_id' => $this->node->id(), 58 'entity_id' => $this->node->id(),
59 'entity_type' => 'node', 59 'entity_type' => 'node',
60 'field_name' => 'comment' 60 'field_name' => 'comment',
61 ]); 61 ]);
62 $this->drupalLogout(); 62 $this->drupalLogout();
63 63
64 $this->assertFalse($this->commentExists($anonymous_comment4), 'Anonymous comment was not published.'); 64 $this->assertFalse($this->commentExists($anonymous_comment4), 'Anonymous comment was not published.');
65 65
143 'cid' => $anonymous_comment4, 143 'cid' => $anonymous_comment4,
144 'subject' => $subject, 144 'subject' => $subject,
145 'comment_body' => $body, 145 'comment_body' => $body,
146 'entity_id' => $this->node->id(), 146 'entity_id' => $this->node->id(),
147 'entity_type' => 'node', 147 'entity_type' => 'node',
148 'field_name' => 'comment' 148 'field_name' => 'comment',
149 ]); 149 ]);
150 $this->drupalLogout(); 150 $this->drupalLogout();
151 151
152 $this->assertFalse($this->commentExists($anonymous_comment4), 'Anonymous comment was not published.'); 152 $this->assertFalse($this->commentExists($anonymous_comment4), 'Anonymous comment was not published.');
153 153