mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
Merge pull request #101 from benmanu/pulls/state-yml-fixture
FIX: params isn't defined in this context
This commit is contained in:
commit
f41bb0fc53
@ -203,7 +203,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