Skip to content

Wrong Registering Fixtures configuration #38

@pdrosos

Description

@pdrosos

Hello,

The configuration for Registering Fixtures

return array(
      'data-fixture' => array(
            'ModuleName_fixture' => __DIR__ . '/../src/ModuleName/Fixture',
      )
);

does not work and the fixtures files are not loaded. It should be

return array(
    'doctrine' => array(
        'fixture' => array(
             'ModuleName_fixture' => __DIR__ . '/../src/ModuleName/Fixture',
        )
    ),
);

and then everything works fine.
Please update the documentation :)

Thanks!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions