diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-12-05 22:18:46 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-12-05 22:18:46 +0000 |
commit | 58b0235a72859aa433d743a9f284504f24664857 (patch) | |
tree | 524132d2e7ca157baa1059117244a5b27b1f51fb /modules/system/system.test | |
parent | 0b06c68b988410c49c9f4ffbf8c3160d4e9da2c7 (diff) | |
download | brdo-58b0235a72859aa433d743a9f284504f24664857.tar.gz brdo-58b0235a72859aa433d743a9f284504f24664857.tar.bz2 |
- Patch #324313 by catch et al: load multiple nodes and terms at once.
Diffstat (limited to 'modules/system/system.test')
-rw-r--r-- | modules/system/system.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.test b/modules/system/system.test index a88cef457..7e039428b 100644 --- a/modules/system/system.test +++ b/modules/system/system.test @@ -570,7 +570,7 @@ class PageTitleFiltering extends DrupalWebTestCase { // Create the node with HTML in the title. $this->drupalPost('node/add/page', $edit, t('Save')); - $node = node_load(array('title' => $edit['title'])); + $node = $this->drupalGetNodeByTitle($edit['title']); $this->assertNotNull($node, 'Node created and found in database'); $this->drupalGet("node/" . $node->nid); $this->assertText(check_plain($edit['title']), 'Check to make sure tags in the node title are converted.'); |