HippoStep\SilverStripePhpUnit9\SapphireTestPhpUnit9::loadFixture
Load a YAML fixture file into the database.
Once loaded, you can use idFromFixture() and objFromFixture() to get items from the fixture. Doesn't clear existing fixtures.
Signature
public function loadFixture(string
$fixtureFile )
Parameters
$fixtureFile
— string- The location of the .yml fixture file, relative to the site base dir