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
1 changed files with 1 additions and 0 deletions

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