From 63250278f7aabc0ee021c5fda8baaa4e5a5208fb Mon Sep 17 00:00:00 2001 From: Ricardo Signes Date: Sat, 4 May 2024 13:07:07 -0400 Subject: [PATCH] GitHub Actions: quiet down web test output --- etc/plack_log.conf.github | 3 +++ t/pause_2017/lib/Test/PAUSE/Web.pm | 1 + 2 files changed, 4 insertions(+) create mode 100644 etc/plack_log.conf.github diff --git a/etc/plack_log.conf.github b/etc/plack_log.conf.github new file mode 100644 index 000000000..1b42a3e89 --- /dev/null +++ b/etc/plack_log.conf.github @@ -0,0 +1,3 @@ +dispatchers = null + +null.class = Log::Dispatch::Null diff --git a/t/pause_2017/lib/Test/PAUSE/Web.pm b/t/pause_2017/lib/Test/PAUSE/Web.pm index 34b6338a1..f636a54f1 100644 --- a/t/pause_2017/lib/Test/PAUSE/Web.pm +++ b/t/pause_2017/lib/Test/PAUSE/Web.pm @@ -33,6 +33,7 @@ $TmpDir->child('log')->child('paused.log')->touch(); $INC{"PrivatePAUSE.pm"} = 1; $ENV{EMAIL_SENDER_TRANSPORT} = "Test"; +$ENV{PLACK_ENV} = 'github'; require PAUSE; require PAUSE::Web::Config;