Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 23... Línea 23...
23
 *
23
 *
24
 * @package tool_lpimportcsv
24
 * @package tool_lpimportcsv
25
 * @copyright 2015 Damyon Wiese
25
 * @copyright 2015 Damyon Wiese
26
 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
26
 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
27
 */
27
 */
28
class import_test extends \advanced_testcase {
28
final class import_test extends \advanced_testcase {
Línea 29... Línea 29...
29
 
29
 
30
    public function test_import_framework(): void {
30
    public function test_import_framework(): void {
31
        $this->resetAfterTest(true);
31
        $this->resetAfterTest(true);
Línea -... Línea 32...
-
 
32
        $this->setAdminUser();
32
        $this->setAdminUser();
33
 
-
 
34
        $importer = new framework_importer(
Línea 33... Línea 35...
33
 
35
            file_get_contents(self::get_fixture_path(__NAMESPACE__, 'example.csv')),
Línea 34... Línea 36...
34
        $importer = new framework_importer(file_get_contents(__DIR__ . '/fixtures/example.csv'));
36
        );
35
 
37