Skip to content
Snippets Groups Projects
Commit 33b448c2 authored by Alex Pott's avatar Alex Pott
Browse files

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

parent 83cbb341
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment