Issue #2080057 by guregori, drupal_sensei: Fixed assertion in NodeFormButtonsTest.php.
parent
83cbb3412c
commit
33b448c203
|
@ -61,7 +61,7 @@ class NodeFormButtonsTest extends NodeTestBase {
|
||||||
// Save the node and verify it's still published after clicking
|
// Save the node and verify it's still published after clicking
|
||||||
// 'Save and keep published'.
|
// 'Save and keep published'.
|
||||||
$this->drupalPostForm(NULL, $edit, t('Save and keep published'));
|
$this->drupalPostForm(NULL, $edit, t('Save and keep published'));
|
||||||
$node = node_load(1, TRUE);
|
$node_1 = node_load(1, TRUE);
|
||||||
$this->assertTrue($node_1->isPublished(), 'Node is published');
|
$this->assertTrue($node_1->isPublished(), 'Node is published');
|
||||||
|
|
||||||
// Save the node and verify it's unpublished after clicking
|
// Save the node and verify it's unpublished after clicking
|
||||||
|
|
Loading…
Reference in New Issue