mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
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:
parent
140c31b34f
commit
12552dc808
@ -203,7 +203,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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user