Commit 75c63095 authored by Jonathan.Wage's avatar Jonathan.Wage

Fixed test case.

parent d099c2e3
...@@ -37,16 +37,16 @@ class Doctrine_Import_Schema_TestCase extends Doctrine_UnitTestCase ...@@ -37,16 +37,16 @@ class Doctrine_Import_Schema_TestCase extends Doctrine_UnitTestCase
$import = new Doctrine_Import_Schema(); $import = new Doctrine_Import_Schema();
$import->importSchema('schema.yml', 'yml', 'classes'); $import->importSchema('schema.yml', 'yml', 'classes');
if ( ! file_exists('classes/User.class.php')) { if ( ! file_exists('classes/User.php')) {
$this->fail(); $this->fail();
} else { } 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(); $this->fail();
} else { } else {
unlink('classes/Group.class.php'); unlink('classes/Group.php');
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment