mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
Merge branch 'MDL-81641' of https://github.com/timhunt/moodle
This commit is contained in:
commit
dfc2d98704
@ -133,12 +133,10 @@ final class random_question_loader_test extends \advanced_testcase {
|
||||
|
||||
// Try to a random question from that category - should not be one.
|
||||
$filtercondition = [
|
||||
'filter' => [
|
||||
'category' => [
|
||||
'jointype' => condition::JOINTYPE_DEFAULT,
|
||||
'values' => [$category->id],
|
||||
'filteroptions' => ['includesubcategories' => false],
|
||||
],
|
||||
'category' => [
|
||||
'jointype' => condition::JOINTYPE_DEFAULT,
|
||||
'values' => [$category->id],
|
||||
'filteroptions' => ['includesubcategories' => false],
|
||||
],
|
||||
];
|
||||
$loader = new random_question_loader(new qubaid_list([]));
|
||||
@ -160,12 +158,10 @@ final class random_question_loader_test extends \advanced_testcase {
|
||||
|
||||
// Try to a random question from that category - should get V1.
|
||||
$filtercondition = [
|
||||
'filter' => [
|
||||
'category' => [
|
||||
'jointype' => condition::JOINTYPE_DEFAULT,
|
||||
'values' => [$category->id],
|
||||
'filteroptions' => ['includesubcategories' => false],
|
||||
],
|
||||
'category' => [
|
||||
'jointype' => condition::JOINTYPE_DEFAULT,
|
||||
'values' => [$category->id],
|
||||
'filteroptions' => ['includesubcategories' => false],
|
||||
],
|
||||
];
|
||||
$loader = new random_question_loader(new qubaid_list([]));
|
||||
|
Loading…
x
Reference in New Issue
Block a user