From a9f9e4e72b064f04c22bb4d03a26b471d2eb8ad0 Mon Sep 17 00:00:00 2001
From: Edmund Farrow <edmund.farrow@ed.ac.uk>
Date: Thu, 18 Jul 2024 16:58:23 +0100
Subject: [PATCH] default-test - Fix test

---
 tests/api_controller_test.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/api_controller_test.php b/tests/api_controller_test.php
index 348d76d05..f1e95fee8 100644
--- a/tests/api_controller_test.php
+++ b/tests/api_controller_test.php
@@ -330,7 +330,7 @@ class api_controller_test extends qtype_stack_testcase {
         $this->assertEquals(false, $results->isdeployedseeds);
         $this->assertEquals(false, $results->israndomvariants);
         $this->assertEquals(false, $results->istests);
-        $this->assertEquals(stack_string('default_test_fail'), $results->results->noseed->messages);
+        $this->assertEquals(stack_string('defaulttestfail'), $results->results->noseed->messages);
         $this->assertEquals(1, $results->results->noseed->fails);
         $this->assertEquals(0, $results->results->noseed->passes);
     }
-- 
GitLab