fixed snippets test

This commit is contained in:
Finn 2019-07-12 17:16:19 +01:00
parent 94aced117d
commit 6ecc3d3c56
No known key found for this signature in database
GPG key ID: 7455B4B17685B598

View file

@ -49,12 +49,16 @@ $t->post_ok('/api/v1/organisation/snippets' => json => {
this_week_sales_total => 190, this_week_sales_total => 190,
today_sales_count => 0, today_sales_count => 0,
today_sales_total => 0, today_sales_total => 0,
all_sales_count => 87,
all_sales_total => 870,
this_month_purchases_count => 0, this_month_purchases_count => 0,
this_month_purchases_total => 0, this_month_purchases_total => 0,
this_week_purchases_count => 0, this_week_purchases_count => 0,
this_week_purchases_total => 0, this_week_purchases_total => 0,
today_purchases_count => 0, today_purchases_count => 0,
today_purchases_total => 0, today_purchases_total => 0,
all_purchases_count => 0,
all_purchases_total => 0,
}); });
$framework->logout( $session_key ); $framework->logout( $session_key );