Skip to content
Snippets Groups Projects
Commit d7ad1d8f authored by Croitor Alexandru's avatar Croitor Alexandru
Browse files

Fixed simpletest typo, so it passes.

parent 23378abd
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ class NodeConvertTestCase extends DrupalWebTestCase {
$edit['destination_type'] = $type2_name;
$this->drupalPost('node/'. $node->nid .'/convert', $edit, t("Next"));
$this->drupalPost(NULL, array(), t("Convert"));
$this->assertText(t("Node @nid has been converted succesufuly.", array('@nid' => $node->nid)), t("Simple node conversion ui test passed."));
$this->assertText(t("Node @nid has been converted successfully.", array('@nid' => $node->nid)), t("Simple node conversion ui test passed."));
$result = db_result(db_query("SELECT type FROM {node} WHERE nid = %d", $node->nid));
$this->assertEqual($result, $type2_name, t("The converted node type is equal to the destination node type."));
......
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