1
0
mirror of synced 2025-01-29 19:41:45 +03:00

Fixed test case.

This commit is contained in:
Jonathan.Wage 2007-11-02 00:10:28 +00:00
parent d099c2e357
commit 75c630951c

View File

@ -37,16 +37,16 @@ class Doctrine_Import_Schema_TestCase extends Doctrine_UnitTestCase
$import = new Doctrine_Import_Schema();
$import->importSchema('schema.yml', 'yml', 'classes');
if ( ! file_exists('classes/User.class.php')) {
if ( ! file_exists('classes/User.php')) {
$this->fail();
} else {
unlink('classes/User.class.php');
unlink('classes/User.php');
}
if ( ! file_exists('classes/Group.class.php')) {
if ( ! file_exists('classes/Group.php')) {
$this->fail();
} else {
unlink('classes/Group.class.php');
unlink('classes/Group.php');
}
}
}