fixed stats test
This commit is contained in:
parent
88aa5becff
commit
229c2bb801
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ $t->post_ok('/api/stats' => json => {
|
||||||
session_key => $session_key,
|
session_key => $session_key,
|
||||||
})
|
})
|
||||||
->status_is(200)->or($framework->dump_error)
|
->status_is(200)->or($framework->dump_error)
|
||||||
->json_is('/data', {
|
->json_is('/weeks', {
|
||||||
purchases => [ 12, 19, 21, 20, 21, 20, 5 ],
|
purchases => [ 8, 21, 19, 22, 20, 20, 8 ],
|
||||||
});
|
});
|
||||||
|
|
||||||
sub create_random_transaction {
|
sub create_random_transaction {
|
||||||
|
|
Reference in a new issue