summaryrefslogtreecommitdiff
path: root/modules/menu
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-04-22 09:57:10 +0000
committerDries Buytaert <dries@buytaert.net>2009-04-22 09:57:10 +0000
commit26395c843fd6e96743cfc929ca01f004a45abfe6 (patch)
tree6639d0c04c05fa182dafab5b8abbb2fa72c2b32d /modules/menu
parent526401c4c8f7e1a8126c4810a7d7023c4f8bafc5 (diff)
downloadbrdo-26395c843fd6e96743cfc929ca01f004a45abfe6.tar.gz
brdo-26395c843fd6e96743cfc929ca01f004a45abfe6.tar.bz2
- Patch #308296 by Dave Reid, Damien Tournoud: clean-up of drupalCreateNode().
Diffstat (limited to 'modules/menu')
-rw-r--r--modules/menu/menu.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/menu/menu.test b/modules/menu/menu.test
index d0647bb0f..8c7a46635 100644
--- a/modules/menu/menu.test
+++ b/modules/menu/menu.test
@@ -136,8 +136,8 @@ class MenuTestCase extends DrupalWebTestCase {
*/
function doMenuTests($menu_name = 'navigation') {
// Add nodes to use as links for menu links.
- $node1 = $this->drupalCreateNode(array('type' => 'article', 'uid' => $this->big_user->uid));
- $node2 = $this->drupalCreateNode(array('type' => 'article', 'uid' => $this->big_user->uid));
+ $node1 = $this->drupalCreateNode(array('type' => 'article'));
+ $node2 = $this->drupalCreateNode(array('type' => 'article'));
// Add menu links.
$item1 = $this->addMenuLink(0, 'node/' . $node1->nid, $menu_name);