Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reloading module on reconfigure to persist new configs #5241

Merged
merged 1 commit into from Oct 23, 2018

Conversation

@joelmedeiros
Copy link
Contributor

@joelmedeiros joelmedeiros commented Oct 23, 2018

I had a trouble when I was try to change by differents entity managers, e.g using DataFactory.
Always when I tried to change dinamicaly the entity manager by configs such as
$this->getModule('ModuleName')->_reconfigure(['field' => "value"]);

It hadn't any effect then I figure out this solution.

@DavertMik
Copy link
Member

@DavertMik DavertMik commented Oct 23, 2018

Thanks!

@DavertMik DavertMik merged commit 5190da2 into Codeception:2.5 Oct 23, 2018
4 checks passed
4 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
semaphoreci The build passed on Semaphore.
Details
wercker/build Wercker pipeline passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants