mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-22 00:51:01 +00:00
Move fixtures out of src
This commit is contained in:
parent
ce286d7f7b
commit
7d20756b7b
13 changed files with 4 additions and 2 deletions
|
@ -6,6 +6,6 @@ services:
|
||||||
|
|
||||||
# fixtures
|
# fixtures
|
||||||
Wallabag\DataFixtures\:
|
Wallabag\DataFixtures\:
|
||||||
resource: '../../src/DataFixtures/*'
|
resource: '../../fixtures/*'
|
||||||
tags: ['doctrine.fixture.orm']
|
tags: ['doctrine.fixture.orm']
|
||||||
autowire: true
|
autowire: true
|
||||||
|
|
|
@ -12,6 +12,7 @@ return $config
|
||||||
->addPathToScan(__DIR__ . '/migrations', false)
|
->addPathToScan(__DIR__ . '/migrations', false)
|
||||||
->addPathToScan(__DIR__ . '/src', false)
|
->addPathToScan(__DIR__ . '/src', false)
|
||||||
->addPathToScan(__DIR__ . '/web', false)
|
->addPathToScan(__DIR__ . '/web', false)
|
||||||
|
->addPathToScan(__DIR__ . '/fixtures', true)
|
||||||
->addPathToScan(__DIR__ . '/tests', true)
|
->addPathToScan(__DIR__ . '/tests', true)
|
||||||
->ignoreErrorsOnPackages([
|
->ignoreErrorsOnPackages([
|
||||||
'babdev/pagerfanta-bundle',
|
'babdev/pagerfanta-bundle',
|
||||||
|
|
|
@ -200,7 +200,8 @@
|
||||||
},
|
},
|
||||||
"autoload-dev": {
|
"autoload-dev": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Tests\\Wallabag\\": "tests/"
|
"Tests\\Wallabag\\": "tests/",
|
||||||
|
"Wallabag\\DataFixtures\\": "fixtures/"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"tests/functions.php"
|
"tests/functions.php"
|
||||||
|
|
Loading…
Reference in a new issue