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

Initialize loadedFixtures in Codeception\Module\Yii2::_after #3794

Closed
muratymt opened this issue Dec 1, 2016 · 2 comments
Closed

Initialize loadedFixtures in Codeception\Module\Yii2::_after #3794

muratymt opened this issue Dec 1, 2016 · 2 comments
Labels
Yii

Comments

@muratymt
Copy link

@muratymt muratymt commented Dec 1, 2016

Add
$this->loadedFixtures = [];
after
foreach($this->loadedFixtures as $fixture) { $fixture->unloadFixtures(); }
for clear loadedFixtures after each test

@samdark samdark added the Yii label Dec 1, 2016
@samdark
Copy link
Collaborator

@samdark samdark commented Dec 1, 2016

Seems to be valid. @DavertMik ?

@DavertMik DavertMik closed this in b91aac5 Jan 18, 2017
chris1312 pushed a commit to chris1312/Codeception that referenced this issue Jun 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.