Skip to content
This repository has been archived by the owner on Sep 25, 2022. It is now read-only.

Commit

Permalink
Merge pull request #17 from egeloen/environment
Browse files Browse the repository at this point in the history
Fix fixtures loaded by environment
  • Loading branch information
theofidry committed Jun 7, 2016
2 parents 36d94aa + 6765b9e commit c731f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Context/Doctrine/AbstractAliceContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private function loadFixtures($fixturesFiles, $persister = null)
if (false === empty($fixtureBundles)) {
$fixturesFiles = array_merge(
$fixturesFiles,
$this->fixturesFinder->getFixtures($this->kernel, $fixtureBundles, null)
$this->fixturesFinder->getFixtures($this->kernel, $fixtureBundles, $this->kernel->getEnvironment())
);
}

Expand Down

0 comments on commit c731f25

Please sign in to comment.