Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pado
Asyst Moodle Plugin
Commits
d0b18af8
Commit
d0b18af8
authored
9 months ago
by
Artem Baranovskyi
Browse files
Options
Download
Email Patches
Plain Diff
Small roll-up and test fix.
parent
72d61108
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
asystgrade/tests/quiz_api_test.php
+1
-0
asystgrade/tests/quiz_api_test.php
with
1 addition
and
0 deletions
+1
-0
asystgrade/tests/quiz_api_test.php
+
1
-
0
View file @
d0b18af8
...
@@ -244,6 +244,7 @@ class quiz_api_test extends advanced_testcase
...
@@ -244,6 +244,7 @@ class quiz_api_test extends advanced_testcase
// Check the result
// Check the result
$this
->
assertNotEmpty
(
$grades
);
$this
->
assertNotEmpty
(
$grades
);
$this
->
assertEquals
(
$grades
[
0
][
'predicted_grade'
],
'correct'
);
$this
->
assertEquals
(
$grades
[
0
][
'predicted_grade'
],
'correct'
);
$this
->
assertEquals
(
$grades
[
5
][
'predicted_grade'
],
'incorrect'
);
$this
->
assertEquals
(
$grades
[
6
][
'predicted_grade'
],
'incorrect'
);
$this
->
assertEquals
(
$grades
[
6
][
'predicted_grade'
],
'incorrect'
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment