Skip to content

Commit 9adabb6

Browse files
authored
Fix DI config for JsonContext (#23)
1 parent 1461d28 commit 9adabb6

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ default:
5050
- Elbformat\SymfonyBehatBundle\Context\MailerContext
5151
```
5252
### Mailer
53-
To make the Test-Mailer work, you need to set the mailer dsn in `config/packages/framework.yaml`
53+
To make the Test-Mailer work, you need to set the mailer dsn in `config/packages/mailer.yaml`
5454
```
5555
when@test:
5656
framework:

src/Resources/config/services.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ services:
2727
$strComp: '@Elbformat\SymfonyBehatBundle\Helper\StringCompare'
2828
Elbformat\SymfonyBehatBundle\Context\JsonContext:
2929
arguments:
30+
$kernel: '@kernel'
3031
$state: '@Elbformat\SymfonyBehatBundle\Browser\State'
3132
$arrayComp: '@Elbformat\SymfonyBehatBundle\Helper\ArrayDeepCompare'
3233
Elbformat\SymfonyBehatBundle\Context\LoggingContext: ~

0 commit comments

Comments
 (0)