@@ -109,14 +109,14 @@ public function test_get_question_summary(): void {
109109 * LLM is constructed
110110 * @covers ::build_full_ai_prompt
111111 */
112- public function test_build_full_ai_prompt () : void {
112+ public function test_build_full_ai_prompt (): void {
113113 $ this ->resetAfterTest ();
114114
115115 $ question = qtype_aitext_test_helper::make_aitext_question ([]);
116- set_config ('prompt ' , 'in [responsetext] ' ,'qtype_aitext ' );
117- set_config ('defaultprompt ' , 'check this ' ,'qtype_aitext ' );
118- set_config ('markscheme ' , 'one mark ' ,'qtype_aitext ' );
119- set_config ('jsonprompt ' , 'testprompt ' ,'qtype_aitext ' );
116+ set_config ('prompt ' , 'in [responsetext] ' , 'qtype_aitext ' );
117+ set_config ('defaultprompt ' , 'check this ' , 'qtype_aitext ' );
118+ set_config ('markscheme ' , 'one mark ' , 'qtype_aitext ' );
119+ set_config ('jsonprompt ' , 'testprompt ' , 'qtype_aitext ' );
120120
121121 $ response = '<p> Thank you </p> ' ;
122122 $ result = $ question ->build_full_ai_prompt ($ response , $ aiprompt , $ defaultmark , $ markscheme );
@@ -128,7 +128,7 @@ public function test_build_full_ai_prompt() :void {
128128 $ markscheme = "2 points " ;
129129 $ result = $ question ->build_full_ai_prompt ($ response , $ aiprompt , $ defaultmark , $ markscheme );
130130 $ this ->assertStringContainsString ('2 points ' , $ result );
131- }
131+ }
132132
133133 /**
134134 * Check that non valid json returned from the LLM is
0 commit comments