Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/tests/main/inc/lib/import.lib.test.php

16 lines
377 B

<?php
require_once(api_get_path(LIBRARY_PATH).'import.lib.php');
class TestImport extends UnitTestCase {
public function __construct(){
$this->UnitTestCase('Import library - main/inc/lib/import.lib.test.php');
}
function testCsvToArray(){
$filename='';
$res=Import::csvToArray($filename);
$this->assertTrue(is_array($res));
//var_dump($res);
}
}
?>