From fc69b9b91323c62e8abeaa8723f4d3fffdac0e27 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 19 Feb 2021 05:09:52 -0700 Subject: tests: require Mail::IMAPClient for IMAP tests All of our current IMAP code relies on Mail::IMAPClient at the moment, so ensure we skip those tests on systems without that module. --- xt/lei-auth-fail.t | 1 + 1 file changed, 1 insertion(+) (limited to 'xt') diff --git a/xt/lei-auth-fail.t b/xt/lei-auth-fail.t index 5308d0f9..78f8466d 100644 --- a/xt/lei-auth-fail.t +++ b/xt/lei-auth-fail.t @@ -2,6 +2,7 @@ # Copyright (C) 2021 all contributors # License: AGPL-3.0+ use strict; use v5.10.1; use PublicInbox::TestCommon; +require_mods(qw(Mail::IMAPClient)); # TODO: mock IMAP server which fails at authentication so we don't # have to make external connections to test this: -- cgit v1.2.3-24-ge0c7