From ed60e0eac59d049d1889810c5bb28286cb4bbca7 Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Thu, 23 Oct 2014 13:37:24 +0800 Subject: [PATCH] MDL-47713 Grades: Fix new behat test after conversion from points to % The contribution to course total column was changed from points to % but this new test was submitted using points. It just needs the numbers converted to %. --- .../behat/grade_contribution_with_extra_credit.feature | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/grade/tests/behat/grade_contribution_with_extra_credit.feature b/grade/tests/behat/grade_contribution_with_extra_credit.feature index 88e45d92096..ed108666b45 100644 --- a/grade/tests/behat/grade_contribution_with_extra_credit.feature +++ b/grade/tests/behat/grade_contribution_with_extra_credit.feature @@ -72,10 +72,10 @@ Feature: Extra credit contributions are normalised when going out of bounds | Manual item 1 | | 80.00 | | | Manual item 2 | | 10.00 | | | Manual item 3 | | 70.00 | | - | Manual item 4 | 0.00 % | 90.00 | 0.00 | + | Manual item 4 | 0.00 % | 90.00 | 0.00 % | Examples: | aggregation | m1w | m1c | m2w | m2c | m3w | m3c | - | Natural | 100.00 % | 80.00 | 66.67 % | 10.00 | 57.14 % | 60.00 | - | Simple weighted mean of grades | 100.00 % | 53.33 | 66.67 % | 6.67 | 57.14 % | 40.00 | - | Mean of grades (with extra credits) | 100.00 % | 53.33 | 100.00 % | 10.00 | 52.38 % | 36.67 | + | Natural | 100.00 % | 53.33 % | 66.67 % | 6.67 % | 57.14 % | 40.00 % | + | Simple weighted mean of grades | 100.00 % | 53.33 % | 66.67 % | 6.67 % | 57.14 % | 40.00 % | + | Mean of grades (with extra credits) | 100.00 % | 53.33 % | 100.00 % | 10.00 % | 52.38 % | 36.67 % |