Merge pull request #58489 from aanderse/mailcatcher
nixos/mailcatcher: fix test to be compatible with mailcatcher 7.x series
This commit is contained in:
commit
673c8193cd
1 changed files with 1 additions and 1 deletions
|
@ -21,6 +21,6 @@ import ./make-test.nix ({ lib, ... }:
|
|||
$machine->waitForUnit('mailcatcher.service');
|
||||
$machine->waitForOpenPort('1025');
|
||||
$machine->succeed('echo "this is the body of the email" | mail -s "subject" root@example.org');
|
||||
$machine->succeed('curl http://localhost:1080/messages/1.json') =~ /this is the body of the email/ or die;
|
||||
$machine->succeed('curl http://localhost:1080/messages/1.source') =~ /this is the body of the email/ or die;
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue