Skip to content

thewalkingcoder/messenger

Repository files navigation

FUNCTIONNAL TEST WITH MESSENGER AND MAIL

How to reproduce

Test transport

//config/packages/tests/messenger.yaml

framework:
  messenger:
    transports:
      async: "in-memory://"

uncomment

//tests/Controller/AppControllerTest.php line 31-32

    $transport = self::$container->get('messenger.transport.async');
    $this->assertCount(1, $transport->get());

Test email

//config/packages/tests/messenger.yaml

framework:
  messenger:
    transports:
      async: "sync://"

uncomment

//tests/Controller/AppControllerTest.php line 29

$this->assertEmailCount(1);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors