diff --git a/question/tests/random_question_loader_test.php b/question/tests/random_question_loader_test.php index a977bbbae9d..33b05269690 100644 --- a/question/tests/random_question_loader_test.php +++ b/question/tests/random_question_loader_test.php @@ -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([]));