From 7e2699d919016d97cbdefcd63ec69eab1ec90d66 Mon Sep 17 00:00:00 2001 From: Jamie Pratt Date: Tue, 13 Sep 2011 20:27:38 +0700 Subject: [PATCH] MDL-47494 ddimageortext: NOBUG fixed broken unit tests. --- question/type/ddimageortext/simpletest/testwalkthrough.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/question/type/ddimageortext/simpletest/testwalkthrough.php b/question/type/ddimageortext/simpletest/testwalkthrough.php index 6bfa468db01..179a18fb0d4 100755 --- a/question/type/ddimageortext/simpletest/testwalkthrough.php +++ b/question/type/ddimageortext/simpletest/testwalkthrough.php @@ -38,14 +38,14 @@ require_once($CFG->dirroot . '/question/type/ddimageortext/simpletest/helper.php */ class qtype_ddimageortext_walkthrough_test extends qbehaviour_walkthrough_test_base { - protected function get_contains_drag_image_home_expectation($dragimageno, $choice, $group) { + protected function get_contains_drag_image_home_expectation($dragitemno, $choice, $group) { $class = 'group' . $group; - $class .= ' draghome dragimagehomes' . $dragimageno. ' choice'.$choice; + $class .= ' draghome dragitemhomes' . $dragitemno. ' choice'.$choice.' yui3-cssfonts'; $expectedattrs = array(); $expectedattrs['class'] = $class; - return new ContainsTagWithAttributes('img', $expectedattrs); + return new ContainsTagWithAttributes('div', $expectedattrs); } public function test_interactive_behaviour() {