import.lib.test.php 377 B

12345678910111213141516
  1. <?php
  2. require_once(api_get_path(LIBRARY_PATH).'import.lib.php');
  3. class TestImport extends UnitTestCase {
  4. public function __construct(){
  5. $this->UnitTestCase('Import library - main/inc/lib/import.lib.test.php');
  6. }
  7. function testCsvToArray(){
  8. $filename='';
  9. $res=Import::csvToArray($filename);
  10. $this->assertTrue(is_array($res));
  11. //var_dump($res);
  12. }
  13. }
  14. ?>