Added error dump on failing test for debugging

This commit is contained in:
Tom Bloor 2018-01-02 21:40:41 +00:00
parent d331fe41fe
commit 44ade264c9

View file

@ -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],