Skip to content

Commit

Permalink
remove references to essay question type (legacy)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusgreen committed Apr 2, 2024
1 parent 2a42e5d commit 8191adf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
color:inherit;
}

.que.aitext textarea.qtype_essay_response.qtype_essay_monospaced {
.que.aitext textarea.qtype_aitext_response.qtype_aitext_monospaced {
white-space: pre;
font-family: Andale Mono, Monaco, Courier New, DejaVu Sans Mono, monospace;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/testquestion.moodle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</question>

<!-- question: 114000 -->
<question type="essay">
<question type="aitext">
<name>
<text>aitext-001</text>
</name>
Expand Down
4 changes: 2 additions & 2 deletions tests/question_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function test_get_question_summary() {
* @return void
*/
public function test_get_feedback() {
// Create the aitext question under test.
// Create the aitext question under test.
$questiontext = 'AI question text';
$aitext = qtype_aitext_test_helper::make_aitext_question(['questiontext' => $questiontext]);
$testdata = [
Expand Down Expand Up @@ -109,7 +109,7 @@ public function test_summarise_response(): void {
* @return void
*/
public function test_is_same_response() {
$aitext = \test_question_maker::make_an_essay_question();
$aitext = \test_question_maker::make_an_aitext_question();

$aitext = qtype_aitext_test_helper::make_aitext_question([]);

Expand Down
2 changes: 1 addition & 1 deletion tests/question_type_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@


/**
* Unit tests for the essay question type class.
* Unit tests for the aitext question type class.
*
* @package qtype_aitext
* @author Marcus Green 2023
Expand Down

0 comments on commit 8191adf

Please sign in to comment.