Skip to content

Support different name entity manager connection#378

Open
fe-optimax wants to merge 4 commits intoliip:3.xfrom
fe-optimax:support-different-name-entity-manager-connection
Open

Support different name entity manager connection#378
fe-optimax wants to merge 4 commits intoliip:3.xfrom
fe-optimax:support-different-name-entity-manager-connection

Conversation

@fe-optimax
Copy link

related to the issue #225

use Liip\TestFixturesBundle\Services\DatabaseToolCollection;

/**
* Test SQLite database with entity manager having different name than his connection.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Test SQLite database with entity manager having different name than his connection.
* Test SQLite database with entity manager having different name than its connection.

orm:
default_entity_manager: different
entity_managers:
different:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to have 2 different entity managers with different entities, then test that we can load fixtures in both contexts. It may require to add an Entity like in https://github.com/liip/LiipTestFixturesBundle/pull/353/changes

@alexislefebvre
Copy link
Collaborator

@fe-optimax Please let us know if you need help to add tests with 2 different entity managers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants