moved export test files back into models and modified path in testcase
This commit is contained in:
parent
f943213f2c
commit
b6eeaa6877
@ -88,7 +88,7 @@ class Doctrine_Export_Record_TestCase extends Doctrine_UnitTestCase
|
|||||||
|
|
||||||
public function testExportModelFromDirectory()
|
public function testExportModelFromDirectory()
|
||||||
{
|
{
|
||||||
Doctrine::exportSchema(dirname(__FILE__) . DIRECTORY_SEPARATOR . '_files2');
|
Doctrine::exportSchema(dirname(__FILE__) . DIRECTORY_SEPARATOR .'..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'models' . DIRECTORY_SEPARATOR . 'export');
|
||||||
|
|
||||||
$this->assertEqual($this->adapter->pop(), 'COMMIT');
|
$this->assertEqual($this->adapter->pop(), 'COMMIT');
|
||||||
$this->assertEqual($this->adapter->pop(), 'ALTER TABLE cms__category_languages ADD CONSTRAINT FOREIGN KEY (category_id) REFERENCES cms__category(id) ON DELETE CASCADE');
|
$this->assertEqual($this->adapter->pop(), 'ALTER TABLE cms__category_languages ADD CONSTRAINT FOREIGN KEY (category_id) REFERENCES cms__category(id) ON DELETE CASCADE');
|
||||||
|
Loading…
Reference in New Issue
Block a user