|
@@ -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.
|
|
|
*/
|