diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-09 21:54:01 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-09 21:54:01 +0000 |
commit | 147bb1389a18eca73015390cc46a5fe03abfcb88 (patch) | |
tree | c5798ac604e5fd2ded01f15db2f0e422b4077abb /modules/trigger | |
parent | 364238c585cb3c2f64b99a385c577f174cdf1f39 (diff) | |
download | brdo-147bb1389a18eca73015390cc46a5fe03abfcb88.tar.gz brdo-147bb1389a18eca73015390cc46a5fe03abfcb88.tar.bz2 |
#571654 follow-up by chx, peximo, plach, sun, et al:
Roll-back of node titles as fields. The Entity Translation module in
contrib can add this back, but for everyone else it creates a *huge* WTF.
Apologies for how late this is coming, but better now than post-alpha. :\
Diffstat (limited to 'modules/trigger')
-rw-r--r-- | modules/trigger/trigger.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/trigger/trigger.test b/modules/trigger/trigger.test index 9bf1e5b01..5096dd805 100644 --- a/modules/trigger/trigger.test +++ b/modules/trigger/trigger.test @@ -38,14 +38,14 @@ class TriggerContentTestCase extends DrupalWebTestCase { $this->drupalLogin($web_user); $edit = array(); $langcode = LANGUAGE_NONE; - $edit["title[$langcode][0][value]"] = '!SimpleTest test node! ' . $this->randomName(10); + $edit["title"] = '!SimpleTest test node! ' . $this->randomName(10); $edit["body[$langcode][0][value]"] = '!SimpleTest test body! ' . $this->randomName(32) . ' ' . $this->randomName(32); $edit[$info['property']] = !$info['expected']; $this->drupalPost('node/add/page', $edit, t('Save')); // Make sure the text we want appears. - $this->assertRaw(t('!post %title has been created.', array('!post' => 'Page', '%title' => $edit["title[$langcode][0][value]"])), t('Make sure the page has actually been created')); + $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 = $this->drupalGetNodeByTitle($edit["title[$langcode][0][value]"]);; + $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 |