Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 33... Línea 33...
33
 * @covers     \mod_data\local\importer\csv_entries_importer
33
 * @covers     \mod_data\local\importer\csv_entries_importer
34
 * @copyright  2023 ISB Bayern
34
 * @copyright  2023 ISB Bayern
35
 * @author     Philipp Memmel
35
 * @author     Philipp Memmel
36
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
36
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
37
 */
37
 */
38
class entries_importer_test extends \advanced_testcase {
38
final class entries_importer_test extends \advanced_testcase {
Línea 39... Línea 39...
39
 
39
 
40
    /**
40
    /**
41
     * Set up function.
41
     * Set up function.
42
     */
42
     */
Línea 131... Línea 131...
131
    /**
131
    /**
132
     * Data provider method for self::test_get_file_content_from_zip.
132
     * Data provider method for self::test_get_file_content_from_zip.
133
     *
133
     *
134
     * @return array data for testing
134
     * @return array data for testing
135
     */
135
     */
136
    public function get_file_content_from_zip_provider(): array {
136
    public static function get_file_content_from_zip_provider(): array {
137
        return [
137
        return [
138
            'some files in the zip archive' => [
138
            'some files in the zip archive' => [
139
                'files' => [
139
                'files' => [
140
                    [
140
                    [
141
                        'filename' => 'datafile.csv',
141
                        'filename' => 'datafile.csv',