From e10420df88cd9be251b8bb0aeccd26a61695ea58 Mon Sep 17 00:00:00 2001 From: Amaia Anabitarte Date: Wed, 11 Dec 2024 10:11:34 +0100 Subject: [PATCH] MDL-83807 h5p: Return a default valid H5P --- mod/h5pactivity/tests/generator/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/h5pactivity/tests/generator/lib.php b/mod/h5pactivity/tests/generator/lib.php index 3f4c4b2fe06..01818edb136 100644 --- a/mod/h5pactivity/tests/generator/lib.php +++ b/mod/h5pactivity/tests/generator/lib.php @@ -54,7 +54,7 @@ class mod_h5pactivity_generator extends testing_module_generator { // Fill in optional values if not specified. if (!isset($record->packagefilepath)) { - $record->packagefilepath = $CFG->dirroot.'/h5p/tests/fixtures/h5ptest.zip'; + $record->packagefilepath = $CFG->dirroot.'/h5p/tests/fixtures/ipsums.h5p'; } else if (strpos($record->packagefilepath, $CFG->dirroot) !== 0) { $record->packagefilepath = "{$CFG->dirroot}/{$record->packagefilepath}"; }