Added error dump on failing test for debugging

This commit is contained in:
Tom Bloor 2018-01-02 21:40:41 +00:00
parent e0d3035929
commit 0f9a3eadd8
No known key found for this signature in database
GPG key ID: 4657C7EBE42CC5CC

View file

@ -55,6 +55,7 @@ $t->post_ok('/api/stats/customer' => json => {
sum => 118, sum => 118,
count => 7, count => 7,
}) })
->or($framework->dump_error)
->json_is('/sectors', { ->json_is('/sectors', {
sectors => ['A'], sectors => ['A'],
purchases => [118], purchases => [118],