MDL-72553 qbank_customfields: Behat fix for mssql and others

This commit implements behat fix for mssql and some other
environments.
This commit is contained in:
Safat Shahin
2021-12-09 09:22:08 +02:00
committed by Ilya Tregubov
parent 107bcc143c
commit 63c31c338e
@@ -120,13 +120,14 @@ class custom_view extends \core_question\local\bank\view {
}
protected function heading_column(): string {
return 'question_name_text_column';
return 'mod_quiz\\question\\bank\\question_name_text_column';
}
protected function default_sort(): array {
// Using the extended class for quiz specific sort.
return [
'question_type_column' => 1,
'question_name_text_column' => 1,
'qbank_viewquestiontype\\question_type_column' => 1,
'mod_quiz\\question\\bank\\question_name_text_column' => 1,
];
}