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 /nixos/tests/mailcatcher.nix | |
parent | 88b32b2004db983bdc4004d60c452c660b4f64f4 (diff) | |
download | nixpkgs-417da42c0220632facea657feacc8cca1d830496.tar nixpkgs-417da42c0220632facea657feacc8cca1d830496.tar.gz nixpkgs-417da42c0220632facea657feacc8cca1d830496.tar.bz2 nixpkgs-417da42c0220632facea657feacc8cca1d830496.tar.lz nixpkgs-417da42c0220632facea657feacc8cca1d830496.tar.xz nixpkgs-417da42c0220632facea657feacc8cca1d830496.tar.zst nixpkgs-417da42c0220632facea657feacc8cca1d830496.zip |
nixos/mailcatcher: fix test to be compatible with mailcatcher 7.x series
Diffstat (limited to 'nixos/tests/mailcatcher.nix')
-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 1bed13b23f6..d45b5d4edfc 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; ''; }) |