소스 검색

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

Arthur Portugal 15 년 전
부모
커밋
48ac600e13
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  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.
  */