mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #773 from ajoneil/fixtures-fix
BUGFIX: Fix loading of fixtures not specified in $fixtures array
This commit is contained in:
commit
19a7d31118
@ -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…
x
Reference in New Issue
Block a user