Forgot to add the TestLog class I created
Alastair McGowan-Douglas [Mon, 29 Sep 2014 08:14:09 +0000 (09:14 +0100)]
t/lib/TestLog.pm [new file with mode: 0644]

diff --git a/t/lib/TestLog.pm b/t/lib/TestLog.pm
new file mode 100644 (file)
index 0000000..022f38a
--- /dev/null
@@ -0,0 +1,12 @@
+package TestLog;
+use Moose;
+extends 'Catalyst::Log';
+
+our $logged;
+
+override warn => sub {
+    my $self = shift;
+    $logged = shift;
+};
+
+1;