Fix for issue #66: fixtures dumper should ignore tests table maps
This commit is contained in:
parent
8baffd0aca
commit
2a7c9014d4
|
@ -64,7 +64,7 @@ abstract class AbstractDataHandler
|
|||
$this->dbMap = Propel::getDatabaseMap($connectionName);
|
||||
|
||||
$finder = new Finder();
|
||||
$files = $finder->files()->name('*TableMap.php')->in($this->getRootDir() . '/../');
|
||||
$files = $finder->files()->name('*TableMap.php')->in($this->getRootDir() . '/../')->exclude('Tests');
|
||||
|
||||
foreach ($files as $file) {
|
||||
$class = $this->guessFullClassName($file->getRelativePath(), basename($file, '.php'));
|
||||
|
|
Loading…
Reference in a new issue