REF: #33
This issue has not resolved.
If you setup the module as in the documentation, the import does not work because within Module.php
$paths = $sm->get('doctrine.configuration.fixtures'); returns an empty array. What actually works is $config = $sm->get('Config'); $paths = $config['data-fixture']; if you adhere to the documentation.
The solution is either update Module.php or update the documentation from
return [
'data-fixture' => [
'ModuleName_fixture' => __DIR__ . '/../src/ModuleName/Fixture',
]
];
to
return [
'doctrine' => [
'fixture' => [
'ModuleName_fixture' => __DIR__ . '/../src/ModuleName/Fixture',
]
],
];
REF: #33
This issue has not resolved.
If you setup the module as in the documentation, the import does not work because within Module.php
$paths = $sm->get('doctrine.configuration.fixtures');returns an empty array. What actually works is$config = $sm->get('Config'); $paths = $config['data-fixture'];if you adhere to the documentation.The solution is either update Module.php or update the documentation from
to