Commit 33b448c2 authored by alexpott's avatar alexpott
Browse files

Issue #2080057 by guregori, drupal_sensei: Fixed assertion in NodeFormButtonsTest.php.

parent 83cbb341
......@@ -61,7 +61,7 @@ function testNodeFormButtons() {
// Save the node and verify it's still published after clicking
// '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');
// Save the node and verify it's unpublished after clicking
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment