webfactory / doctrine-orm-test-infrastructure

Provides utils to create a test infrastructure for Doctrine ORM entities.
MIT License
20 stars 5 forks source link

Not all dependencies detected by createWithDependenciesFor() #9

Closed Matthimatiker closed 9 years ago

Matthimatiker commented 9 years ago

ORMInfrastructure::createWithDependenciesFor() does not detect all dependencies properly. Seems as if inheritance relations are not handled.

Matthimatiker commented 9 years ago

There is another problem when entities are mentioned in a discriminator map. The generated queries will reference the mentioned entities. Therefore, the infrastructure must take that into account and set up the corresponding tables.