X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fdiff%2Fsrc%2FTests%2FDiffViewModeTest.php;h=352f8b73c0150d83c0f074c94dbd42b4de3a3bb1;hp=e07555a4a5d6fde91964235605dfc65786dafeb1;hb=059867c3f96750652c80f39e44c442a58c2549ee;hpb=f8fc16ae6b862bef59baaad5d051dd37b7ff11b2 diff --git a/web/modules/contrib/diff/src/Tests/DiffViewModeTest.php b/web/modules/contrib/diff/src/Tests/DiffViewModeTest.php index e07555a4a..352f8b73c 100644 --- a/web/modules/contrib/diff/src/Tests/DiffViewModeTest.php +++ b/web/modules/contrib/diff/src/Tests/DiffViewModeTest.php @@ -1,6 +1,7 @@ 'Fighters', 'revision' => TRUE, ); - $this->drupalPostForm('node/' . $node->id() . '/edit', $edit, t('Save and keep published')); + $this->drupalPostNodeForm('node/' . $node->id() . '/edit', $edit, t('Save and keep published')); // Set the Body field to hidden in the diff view mode. $edit = [