]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed a unittest bug
authorDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 17:58:06 +0000 (17:58 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Mon, 4 Jan 2010 17:58:06 +0000 (17:58 +0000)
mod/workshop/grading/accumulative/simpletest/teststrategy.php

index e913115b25827ee0a07bf07f34c6d2ae6334fee3..72577a7520f3102650b1e73f47d99a8fe287f62c 100644 (file)
@@ -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);