Skip to content

Commit

Permalink
Fix issue with local mailer on tests/Application app
Browse files Browse the repository at this point in the history
  • Loading branch information
senghe committed Oct 1, 2024
1 parent 334638a commit 1debd65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Application/.env
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ DATABASE_URL=mysql://[email protected]/sylius_bonus_points_%kernel.environment%?ser
# For Gmail as a transport, use: "gmail://username:password@localhost"
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
# Delivery is disabled by default via "null://localhost"
MAILER_URL=smtp://localhost
MAILER_DSN=null://null
###< symfony/swiftmailer-bundle ###

###> lexik/jwt-authentication-bundle ###
Expand Down
2 changes: 2 additions & 0 deletions tests/Application/config/packages/framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ framework:
csrf_protection: true
session:
handler_id: ~
mailer:
dsn: '%env(MAILER_DSN)%'

0 comments on commit 1debd65

Please sign in to comment.