From: David Mudrak Date: Mon, 4 Jan 2010 17:58:06 +0000 (+0000) Subject: Fixed a unittest bug X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7a79469c756b9c72ba31967eb4faa31112cf661a;p=moodle.git Fixed a unittest bug --- diff --git a/mod/workshop/grading/accumulative/simpletest/teststrategy.php b/mod/workshop/grading/accumulative/simpletest/teststrategy.php index e913115b25..72577a7520 100644 --- a/mod/workshop/grading/accumulative/simpletest/teststrategy.php +++ b/mod/workshop/grading/accumulative/simpletest/teststrategy.php @@ -83,7 +83,7 @@ class workshop_accumulative_strategy_test extends UnitTestCase { public function test_calculate_peer_grade_null_grade() { // fixture set-up - $this->dimensions = array(); + $this->strategy->dimensions = array(); $grades = array(); // excercise SUT $suggested = $this->strategy->calculate_peer_grade($grades);