mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Fix loading of fixtures not specified in $fixtures array
This commit is contained in:
parent
00b6bc86e2
commit
3fd4f7e855
@ -425,7 +425,7 @@ class SapphireTest extends PHPUnit_Framework_TestCase {
|
||||
$fixtureContent = $parser->load(Director::baseFolder().'/'.$fixtureFile);
|
||||
|
||||
$fixture = new YamlFixture($fixtureFile);
|
||||
$fixture->saveIntoDatabase();
|
||||
$fixture->saveIntoDatabase($this->model);
|
||||
$this->fixtures[] = $fixture;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user