- Patch #451660 by Damien Tournoud: fixed menu creation/deletion tests.

merge-requests/26/head
Dries Buytaert 2009-05-03 05:06:11 +00:00
parent 67502395d1
commit cdb326fc74
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ class MenuTestCase extends DrupalWebTestCase {
// Unlike most other modules, there is no confirmation message displayed.
// Verify in the database.
$hidden = db_result(db_query("SELECT hidden FROM {menu_links} WHERE mlid = :mlid", array('mlid' => $mlid)));
$hidden = db_query("SELECT hidden FROM {menu_links} WHERE mlid = :mlid", array(':mlid' => $mlid))->fetchField();
$this->assertEqual($hidden, 1, t('Link is hidden in the database table'));
}