X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcomment%2Ftests%2Fsrc%2FFunctional%2FCommentStatusFieldAccessTest.php;fp=web%2Fcore%2Fmodules%2Fcomment%2Ftests%2Fsrc%2FFunctional%2FCommentStatusFieldAccessTest.php;h=d2495d3791c75032378f0a16d117a25a7ee15daa;hp=504b3bacf6714ae09b3c24458df415d638aba9ee;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php b/web/core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php index 504b3bacf..d2495d379 100644 --- a/web/core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php +++ b/web/core/modules/comment/tests/src/Functional/CommentStatusFieldAccessTest.php @@ -2,7 +2,6 @@ namespace Drupal\Tests\comment\Functional; - use Drupal\comment\Tests\CommentTestTrait; use Drupal\node\Entity\NodeType; use Drupal\Tests\BrowserTestBase; @@ -86,14 +85,14 @@ class CommentStatusFieldAccessTest extends BrowserTestBase { $assert->fieldNotExists('comment[0][status]'); $this->submitForm([ 'title[0][value]' => 'Node 1', - ], t('Save and publish')); + ], t('Save')); $assert->fieldExists('subject[0][value]'); $this->drupalLogin($this->commentAdmin); $this->drupalGet('node/add/article'); $assert->fieldExists('comment[0][status]'); $this->submitForm([ 'title[0][value]' => 'Node 2', - ], t('Save and publish')); + ], t('Save')); $assert->fieldExists('subject[0][value]'); }