MDL-47494 ddimageortext: NOBUG fixed broken unit tests.

This commit is contained in:
Jamie Pratt
2011-09-13 20:27:38 +07:00
parent ea9bec768a
commit 7e2699d919
@@ -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() {