Skip to content

Commit

Permalink
caveats: non-existent service > add Symfony 6
Browse files Browse the repository at this point in the history
  • Loading branch information
alexislefebvre authored Sep 16, 2022
1 parent b898a14 commit 66bca2b
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion doc/caveats.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,21 @@ sentry:
## You have requested a non-existent service "Liip\TestFixturesBundle\Services\DatabaseToolCollection"
Check that the parameter `framework.test` is enabled.
Check that the parameter `framework.test` is enabled:

Symfony 4 and 5:

```yaml
# config/package/test/framework.yaml
framework:
test: true
```

Symfony 6:

```yaml
# config/package/framework.yaml
when@test:
framework:
test: true
```

0 comments on commit 66bca2b

Please sign in to comment.