X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fdiff%2Fsrc%2FTests%2FDiffAdminFormsTest.php;fp=web%2Fmodules%2Fcontrib%2Fdiff%2Fsrc%2FTests%2FDiffAdminFormsTest.php;h=bbbfd9260f9a169022a1118ad6646dfe283c9779;hp=03e60d59c0bb54c2e289eee78bec32b22edcb845;hb=059867c3f96750652c80f39e44c442a58c2549ee;hpb=f8fc16ae6b862bef59baaad5d051dd37b7ff11b2 diff --git a/web/modules/contrib/diff/src/Tests/DiffAdminFormsTest.php b/web/modules/contrib/diff/src/Tests/DiffAdminFormsTest.php index 03e60d59c..bbbfd9260 100644 --- a/web/modules/contrib/diff/src/Tests/DiffAdminFormsTest.php +++ b/web/modules/contrib/diff/src/Tests/DiffAdminFormsTest.php @@ -1,6 +1,7 @@ 'great_title', 'body[0][value]' => '

great_body

', ]; - $this->drupalPostForm('node/add/article', $edit, t('Save and publish')); + $this->drupalPostNodeForm('node/add/article', $edit, t('Save and publish')); $this->clickLink('Edit'); $edit = [ 'title[0][value]' => 'greater_title', 'body[0][value]' => '

greater_body

', ]; - $this->drupalPostForm(NULL, $edit, t('Save and keep published')); + $this->drupalPostNodeForm(NULL, $edit, t('Save and keep published')); // Assert the diff display uses the classic layout. $node = $this->getNodeByTitle('greater_title');