diff options
author | Aaron Andersen <aaron@fosslib.net> | 2019-03-28 11:15:20 -0400 |
---|---|---|
committer | Aaron Andersen <aaron@fosslib.net> | 2019-03-28 11:15:20 -0400 |
commit | 417da42c0220632facea657feacc8cca1d830496 (patch) | |
tree | 6c7d444988fae6d264a696b66307b585c3897ed9 | |
parent | 88b32b2004db983bdc4004d60c452c660b4f64f4 (diff) |
nixos/mailcatcher: fix test to be compatible with mailcatcher 7.x series
-rw-r--r-- | nixos/tests/mailcatcher.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/mailcatcher.nix b/nixos/tests/mailcatcher.nix index 1bed13b23f664..d45b5d4edfc50 100644 --- a/nixos/tests/mailcatcher.nix +++ b/nixos/tests/mailcatcher.nix @@ -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; ''; }) |