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
50cf107242
commit
15f1a083fc
@ -200,7 +200,7 @@ class SilverStripeContext extends MinkContext implements SilverStripeAwareContex
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Fixtures
|
// Fixtures
|
||||||
$fixtureFile = (!empty($params['fixture'])) ? $params['fixture'] : null;
|
$fixtureFile = (!empty($state['fixture'])) ? $state['fixture'] : null;
|
||||||
if($fixtureFile) {
|
if($fixtureFile) {
|
||||||
$this->testSessionEnvironment->loadFixtureIntoDb($fixtureFile);
|
$this->testSessionEnvironment->loadFixtureIntoDb($fixtureFile);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user