Updated the file import with a new path for the temporal CT#191

skala
Arthur Portugal 15 years ago
parent 363d84eb4d
commit 48ac600e13
  1. 14
      tests/main/webservices/user_import/import.lib.test.php

@ -15,13 +15,6 @@ class TestImpor extends UnitTestCase {
//var_dump($res);
}
function testparse_csv_data() {
$file='/var/www/1.csv';
$res=parse_csv_data($file);
$this->assertTrue(is_array($res));
//var_dump($res);
}
/**
* Save the imported data
*/
@ -39,6 +32,13 @@ class TestImpor extends UnitTestCase {
$this->assertTrue(is_array($res));
//var_dump($res);
}
function testparse_csv_data() {
$file= '/tmp/';
$res=parse_csv_data($file);
$this->assertTrue(is_array($res));
//var_dump($res);
}
/**
* This functon only is added to the end of the test and the end of the files in the all test.
*/

Loading…
Cancel
Save