Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 588 Bytes

loadFixturesForDefaultConnection.md

File metadata and controls

22 lines (15 loc) · 588 Bytes

Method Documentation: loadFixturesForDefaultConnection

Description

The loadFixturesForDefaultConnection method is a Behat step definition that loads a specified list of fixtures into the default database connection. This step can be used in Behat scenarios to load predefined data into the database before running tests.

Method Details

Method Signature

/**
 * @Given I load fixtures :fixtures
 */
public function loadFixturesForDefaultConnection(string $fixtures): void

Use in tests

Given I load fixtures "UserFixture, ProductFixture"