예제 #1
0
 public function setUp()
 {
     parent::setUp();
     $csv = new \Symfony\Component\HttpFoundation\File\UploadedFile(__DIR__ . '/files/basic.csv', 'basic.csv', null, null, null, true);
     $csv2 = new \Symfony\Component\HttpFoundation\File\UploadedFile(__DIR__ . '/files/basic2.csv', 'basic2.csv', null, null, null, true);
     $importer = new ConcreteCSVImportImporter($csv);
     $this->importer = $importer;
     $this->csv = $csv;
     $this->csv2 = $csv2;
 }
예제 #2
0
 /**
  * Clean up the testing environment before the next test.
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
 }