DDC-449: ClassMetadata Exporter Refactorings broke DatabaseDriverTest #4950

Closed
doctrinebot opened this Issue Mar 20, 2010 · 1 comment

2 participants

@doctrinebot

Jira issue originally created by user @beberlei:

1) Doctrine\Tests\ORM\Functional\DatabaseDriverTest::testCreateSimpleYamlFromDatabase
Exception: [PHPUnit*Framework_Error_Warning] is*dir() expects parameter 1 to be string, object given

With queries:
2. SQL: 'CREATE TABLE dbdriver_foo (id INT NOT NULL, bar VARCHAR(200) NOT NULL, PRIMARY KEY(id))' Params: 

Trace:
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/Tools/ClassMetadataReader.php:188
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/Tools/ClassMetadataReader.php:135
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/Tools/Export/ClassMetadataExporter.php:124
/home/benny/code/php/wsnetbeans/Doctrine/trunk/tests/Doctrine/Tests/ORM/Functional/DatabaseDriverTest.php:92
/home/benny/code/php/wsnetbeans/Doctrine/trunk/tests/Doctrine/Tests/ORM/Functional/DatabaseDriverTest.php:36


/home/benny/code/php/wsnetbeans/Doctrine/trunk/tests/Doctrine/Tests/OrmFunctionalTestCase.php:259

2) Doctrine\Tests\ORM\Functional\DatabaseDriverTest::testCreateYamlWithForeignKeyFromDatabase
Exception: [PHPUnit*Framework_Error_Warning] is*dir() expects parameter 1 to be string, object given

With queries:
5. SQL: 'ALTER TABLE dbdriver*baz ADD CONSTRAINT dbdriver_baz_bar_id_fk FOREIGN KEY (bar_id) REFERENCES dbdriver*bar(id) NOT DEFERRABLE INITIALLY IMMEDIATE' Params: 
4. SQL: 'CREATE TABLE dbdriver*baz (id INT NOT NULL, bar*id INT NOT NULL, PRIMARY KEY(id))' Params: 
3. SQL: 'DROP TABLE dbdriver_baz' Params: 
2. SQL: 'CREATE TABLE dbdriver_bar (id INT NOT NULL, PRIMARY KEY(id))' Params: 

Trace:
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/Tools/ClassMetadataReader.php:188
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/Tools/ClassMetadataReader.php:135
/home/benny/code/php/wsnetbeans/Doctrine/trunk/lib/Doctrine/ORM/Tools/Export/ClassMetadataExporter.php:124
/home/benny/code/php/wsnetbeans/Doctrine/trunk/tests/Doctrine/Tests/ORM/Functional/DatabaseDriverTest.php:92
/home/benny/code/php/wsnetbeans/Doctrine/trunk/tests/Doctrine/Tests/ORM/Functional/DatabaseDriverTest.php:72


/home/benny/code/php/wsnetbeans/Doctrine/trunk/tests/Doctrine/Tests/OrmFunctionalTestCase.php:259
@doctrinebot

Issue was closed with resolution "Fixed"

@jwage jwage was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.0-BETA1 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment