From 0f9a3eadd8911bb0cebecfd9eb50c6b932036b4c Mon Sep 17 00:00:00 2001 From: Tom Bloor Date: Tue, 2 Jan 2018 21:40:41 +0000 Subject: [PATCH] Added error dump on failing test for debugging --- t/api/stats.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/api/stats.t b/t/api/stats.t index 3df45c8..67e8705 100644 --- a/t/api/stats.t +++ b/t/api/stats.t @@ -55,6 +55,7 @@ $t->post_ok('/api/stats/customer' => json => { sum => 118, count => 7, }) + ->or($framework->dump_error) ->json_is('/sectors', { sectors => ['A'], purchases => [118],