Remove system file

This commit is contained in:
Romain Neutron
2012-05-21 18:12:25 +02:00
parent 03848cc485
commit b1b9f766a0
4 changed files with 6 additions and 287 deletions

View File

@@ -705,7 +705,7 @@ abstract class PhraseanetPHPUnitAbstract extends WebTestCase
$finder->name($name)->in(__DIR__ . '/testfiles/');
foreach ($finder as $file) {
return $file->getRealPath();
return $file;
}
throw new Exception(sprintf('File %d not found', $i));
@@ -716,7 +716,7 @@ abstract class PhraseanetPHPUnitAbstract extends WebTestCase
PhraseanetPHPUnitAbstract::$recordsInitialized[] = $i;
$file = new Alchemy\Phrasea\Border\File(\MediaVorus\MediaVorus::guess($resolvePathfile($i), $collection));
$file = new Alchemy\Phrasea\Border\File(\MediaVorus\MediaVorus::guess($resolvePathfile($i)), $collection);
$record = record_adapter::createFromFile($file);