diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-05-26 17:31:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-05-26 17:31:59 +0000 |
commit | 1a3ef890ae060a6790efccf97549d811ceaf2097 (patch) | |
tree | 60e4e2c74860abefb0bb220fd26b9c4b1d4592de | |
parent | fe7761fc54a955f3b69956e1493feab57b4df64c (diff) | |
download | brdo-1a3ef890ae060a6790efccf97549d811ceaf2097.tar.gz brdo-1a3ef890ae060a6790efccf97549d811ceaf2097.tar.bz2 |
- Patch #260369 by Damien Tournoud: fixed dblog tests.
-rw-r--r-- | modules/dblog/dblog.test | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/dblog/dblog.test b/modules/dblog/dblog.test index 6c9db26ec..e34eac979 100644 --- a/modules/dblog/dblog.test +++ b/modules/dblog/dblog.test @@ -318,15 +318,15 @@ class DBLogTestCase extends DrupalWebTestCase { case 'poll': $content = array( 'title' => $this->randomName(8), - 'choice[0][chtext]' => $this->randomName(32), - 'choice[1][chtext]' => $this->randomName(32), + 'choice[new:0][chtext]' => $this->randomName(32), + 'choice[new:1][chtext]' => $this->randomName(32), ); break; default: $content = array( - 'title' => $this->randomName(8), - 'body' => $this->randomName(32), + 'title' => $this->randomName(8), + 'body' => $this->randomName(32), ); break; } @@ -343,14 +343,14 @@ class DBLogTestCase extends DrupalWebTestCase { switch ($type) { case 'poll': $content = array( - 'choice[0][chtext]' => $this->randomName(32), - 'choice[1][chtext]' => $this->randomName(32), + 'choice[chid:1][chtext]' => $this->randomName(32), + 'choice[chid:2][chtext]' => $this->randomName(32), ); break; default: $content = array( - 'body' => $this->randomName(32), + 'body' => $this->randomName(32), ); break; } |