Problem/Motivation
While working on recent bug fixes, I'm getting more familiar with the existing test coverage. ForwardFormTest seems most responsible for ensuring that the actual email forwarding functionality works. But it currently is only checking that the forward form submitted and that the success message was printed. We could also see what the resulting emails contain.
Steps to reproduce
Proposed resolution
use Drupal\Core\Test\AssertMailTrait and make some assertions about the sent emails themselves.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork forward-3579221
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3579221-harden-forwardformtest
changes, plain diff MR !11
Comments
Comment #5
dww