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/trigger | |
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/trigger')
-rw-r--r-- | modules/trigger/trigger.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/trigger/trigger.test b/modules/trigger/trigger.test index fab53e5f4..e11429306 100644 --- a/modules/trigger/trigger.test +++ b/modules/trigger/trigger.test @@ -44,7 +44,7 @@ class TriggerContentTestCase extends DrupalWebTestCase { // Make sure the text we want appears. $this->assertRaw(t('!post %title has been created.', array ('!post' => 'Page', '%title' => $edit['title'])), t('Make sure the page has actually been created')); // Action should have been fired. - $loaded_node = node_load(array('title' => $edit['title']), NULL, TRUE); + $loaded_node = $this->drupalGetNodeByTitle($edit['title']);; $this->assertTrue($loaded_node->$info['property'] == $info['expected'], t('Make sure the @action action fired.', array('@action' => $info['name']))); // Leave action assigned for next test @@ -108,4 +108,4 @@ class TriggerContentTestCase extends DrupalWebTestCase { ); return $info[$action]; } -}
\ No newline at end of file +} |