From d0b18af844872275beb522908cfc82fd795b78f8 Mon Sep 17 00:00:00 2001
From: Artem Baranovskyi <artem.baranovsky1980@gmail.com>
Date: Sun, 8 Sep 2024 21:33:54 +0300
Subject: [PATCH] Small roll-up and test fix.

---
 asystgrade/tests/quiz_api_test.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/asystgrade/tests/quiz_api_test.php b/asystgrade/tests/quiz_api_test.php
index 7f9d6e5..2c6988b 100755
--- a/asystgrade/tests/quiz_api_test.php
+++ b/asystgrade/tests/quiz_api_test.php
@@ -244,6 +244,7 @@ class quiz_api_test extends advanced_testcase
         // Check the result
         $this->assertNotEmpty($grades);
         $this->assertEquals($grades[0]['predicted_grade'], 'correct');
+        $this->assertEquals($grades[5]['predicted_grade'], 'incorrect');
         $this->assertEquals($grades[6]['predicted_grade'], 'incorrect');
     }
 
-- 
GitLab