Browse Source

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

Arthur Portugal 15 years ago
parent
commit
48ac600e13
1 changed files with 7 additions and 7 deletions
  1. 7 7
      tests/main/webservices/user_import/import.lib.test.php

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