diff options
Diffstat (limited to 't/lei-import-http.t')
-rw-r--r-- | t/lei-import-http.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/lei-import-http.t b/t/lei-import-http.t index 35cbf369..6cb8a753 100644 --- a/t/lei-import-http.t +++ b/t/lei-import-http.t @@ -39,5 +39,10 @@ test_lei({ tmpdir => $tmpdir }, sub { $res = json_utf8->decode($lei_out); is($res->[0]->{'m'}, '20180720072141.GA15957@example', 'imported search result') or diag explain($res); + + ok(!lei(qw(import --mail-sync), "$url/x\@example.com/raw"), + '--mail-sync fails on HTTP'); + diag $lei_err; + }); done_testing; |