summary refs log tree commit diff
path: root/nixos/tests/mailcatcher.nix
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2019-03-28 11:15:20 -0400
committerAaron Andersen <aaron@fosslib.net>2019-03-28 11:15:20 -0400
commit417da42c0220632facea657feacc8cca1d830496 (patch)
tree6c7d444988fae6d264a696b66307b585c3897ed9 /nixos/tests/mailcatcher.nix
parent88b32b2004db983bdc4004d60c452c660b4f64f4 (diff)
downloadnixpkgs-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.nix2
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;
   '';
 })