Closed art-cg closed 2 years ago
Thanks for reporting this problem. You are right, test entities from a bundle should not impact the database of App. As you suggested I moved the filter0bundle/src/Entity folder to tests so that Doctrine will not find it automatically. This should solve it becuase there should be no configuration in normal apps to make Doctrine include the files to run the tests.
For running the th tests I adapted the config in metaclass-nl/test-filter-bundle.
Thank you
Hi.
The Table "test_entity" https://github.com/metaclass-nl/filter-bundle/blob/master/src/Entity/TestEntity.php exists in the database of the App of the users. And i get 2 warnings of the invalid mapping (Entities Mapping). The Other Table "test_related" is not in my database. I am not sure why.
Possible ideas für solutions: