1
0
mirror of synced 2024-12-13 14:56:01 +03:00

moved export test files back into models and modified path in testcase

This commit is contained in:
meus 2007-09-02 16:26:28 +00:00
parent f943213f2c
commit b6eeaa6877
3 changed files with 1 additions and 1 deletions

View File

@ -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');