FIX: params isn't defined in this context, may be carry over from PHPUnit sessions. Changing context to $state to match other env values.

This commit is contained in:
Ben Manu 2015-12-08 11:10:19 +13:00
parent 50cf107242
commit 15f1a083fc
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class SilverStripeContext extends MinkContext implements SilverStripeAwareContex
}
// Fixtures
$fixtureFile = (!empty($params['fixture'])) ? $params['fixture'] : null;
$fixtureFile = (!empty($state['fixture'])) ? $state['fixture'] : null;
if($fixtureFile) {
$this->testSessionEnvironment->loadFixtureIntoDb($fixtureFile);
}