| Línea 51... |
Línea 51... |
| 51 |
*
|
51 |
*
|
| 52 |
* @param array $quizsettings settings to override default settings for quiz created by generator. Taken from quizzes.csv.
|
52 |
* @param array $quizsettings settings to override default settings for quiz created by generator. Taken from quizzes.csv.
|
| 53 |
* @param array $csvdata of data read from csv file "questionsXX.csv", "stepsXX.csv" and "responsesXX.csv".
|
53 |
* @param array $csvdata of data read from csv file "questionsXX.csv", "stepsXX.csv" and "responsesXX.csv".
|
| 54 |
* @dataProvider get_data_for_walkthrough
|
54 |
* @dataProvider get_data_for_walkthrough
|
| 55 |
*/
|
55 |
*/
|
| 56 |
public function test_walkthrough_from_csv($quizsettings, $csvdata) {
|
56 |
public function test_walkthrough_from_csv($quizsettings, $csvdata): void {
|
| Línea 57... |
Línea 57... |
| 57 |
|
57 |
|
| 58 |
$this->resetAfterTest(true);
|
58 |
$this->resetAfterTest(true);
|
| Línea 59... |
Línea 59... |
| 59 |
question_bank::get_qtype('random')->clear_caches_before_testing();
|
59 |
question_bank::get_qtype('random')->clear_caches_before_testing();
|