summaryrefslogtreecommitdiff
path: root/modules/blog
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/blog
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/blog')
-rw-r--r--modules/blog/blog.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog/blog.test b/modules/blog/blog.test
index 5994d6e29..8e73eeaf9 100644
--- a/modules/blog/blog.test
+++ b/modules/blog/blog.test
@@ -66,7 +66,7 @@ class BlogTestCase extends DrupalWebTestCase {
// Login the user.
$this->drupalLogin($user);
// Create blog node.
- $node = $this->drupalCreateNode(array('type' => 'blog', 'uid' => $user->uid));
+ $node = $this->drupalCreateNode(array('type' => 'blog'));
// Verify the user has access to all the blog nodes.
$this->verifyBlogs($user, $node, $admin);
// Verify the blog links are displayed.