mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-46086 quiz: fix unit test on Oracle
This commit is contained in:
parent
7784c3ad18
commit
1c2e363c0e
1 changed files with 2 additions and 2 deletions
|
@ -72,8 +72,8 @@ class mod_quiz_editlib_testcase extends advanced_testcase {
|
|||
$randomq = $DB->get_record('question', array('qtype' => 'random'));
|
||||
|
||||
$slotssql = "SELECT qs.*, q.qtype AS qtype
|
||||
FROM {quiz_slots} AS qs
|
||||
JOIN {question} AS q ON qs.questionid = q.id
|
||||
FROM {quiz_slots} qs
|
||||
JOIN {question} q ON qs.questionid = q.id
|
||||
WHERE qs.quizid = ?
|
||||
ORDER BY qs.slot";
|
||||
$slots = $DB->get_records_sql($slotssql, array($quiz->id));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue