framework:
    mailer:
        dsn: '%env(MAILER_DSN)%'

when@test:
    framework:
        mailer:
            # this disables delivery of messages entirely
            dsn: 'null://null'
