https://github.com/thewalkingcoder/messenger
https://github.com/thewalkingcoder/messenger
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thewalkingcoder/messenger
- Owner: thewalkingcoder
- Created: 2020-11-25T14:16:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-25T14:20:50.000Z (over 5 years ago)
- Last Synced: 2025-06-16T16:54:57.982Z (about 1 year ago)
- Language: PHP
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FUNCTIONNAL TEST WITH MESSENGER AND MAIL
## How to reproduce
### Test transport
```yaml
//config/packages/tests/messenger.yaml
framework:
messenger:
transports:
async: "in-memory://"
```
uncomment
```php
//tests/Controller/AppControllerTest.php line 31-32
$transport = self::$container->get('messenger.transport.async');
$this->assertCount(1, $transport->get());
```
### Test email
```yaml
//config/packages/tests/messenger.yaml
framework:
messenger:
transports:
async: "sync://"
```
uncomment
```php
//tests/Controller/AppControllerTest.php line 29
$this->assertEmailCount(1);
```