From 1a3ef890ae060a6790efccf97549d811ceaf2097 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 26 May 2008 17:31:59 +0000 Subject: - Patch #260369 by Damien Tournoud: fixed dblog tests. --- modules/dblog/dblog.test | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'modules') 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; } -- cgit v1.2.3