Skip to content

Commit

Permalink
Fix calls to %kernel.project_dir% and Doctrine mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexislefebvre committed Nov 22, 2019
1 parent dbadbe2 commit 2370ab6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions tests/App/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ doctrine:
mappings:
LiipAcme:
type: php
dir: "%kernel.root_dir%/../App/Entity"
dir: "%kernel.project_dir%/tests/App/Entity"
prefix: 'Liip\Acme\Tests\App\Entity'
is_bundle: false
LiipAcmeYml:
type: "yml"
dir: "%kernel.root_dir%/../App/Resources/config/doctrine"
dir: "%kernel.project_dir%/tests/App/Resources/config/doctrine"
prefix: 'Liip\Acme\Tests\App\Entity'
is_bundle: false

services:
_defaults:
Expand Down
2 changes: 1 addition & 1 deletion tests/AppConfigPhpcr/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ doctrine_phpcr:
mappings:
LiipAcme:
type: annotation
dir: "%kernel.root_dir%/../AppConfigPhpcr/Document"
dir: "%kernel.project_dir%/tests/AppConfigPhpcr/Document"
prefix: 'Liip\Acme\Tests\AppConfigPhpcr\Document'

services:
Expand Down

0 comments on commit 2370ab6

Please sign in to comment.