yii\test\FixtureTrait::fixtures PHP Method

fixtures() public method

The return value of this method must be an array of fixture configurations. For example, php [ anonymous fixture PostFixture::className(), "users" fixture 'users' => UserFixture::className(), "cache" fixture with configuration 'cache' => [ 'class' => CacheFixture::className(), 'host' => 'xxx', ], ] Note that the actual fixtures used for a test case will include both FixtureTrait::globalFixtures and FixtureTrait::fixtures.
public fixtures ( ) : array
return array the fixtures needed by the current test case
    public function fixtures()
    {
        return [];
    }