From dc6c6541d7f508d2a47e42ab69174d378ed995f1 Mon Sep 17 00:00:00 2001 From: Finn Date: Fri, 12 Jul 2019 17:16:19 +0100 Subject: [PATCH] fixed snippets test --- t/api/v1/organisation/snippets.t | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/api/v1/organisation/snippets.t b/t/api/v1/organisation/snippets.t index f4ee79c..02baebb 100644 --- a/t/api/v1/organisation/snippets.t +++ b/t/api/v1/organisation/snippets.t @@ -49,12 +49,16 @@ $t->post_ok('/api/v1/organisation/snippets' => json => { this_week_sales_total => 190, today_sales_count => 0, today_sales_total => 0, + all_sales_count => 87, + all_sales_total => 870, this_month_purchases_count => 0, this_month_purchases_total => 0, this_week_purchases_count => 0, this_week_purchases_total => 0, today_purchases_count => 0, today_purchases_total => 0, + all_purchases_count => 0, + all_purchases_total => 0, }); $framework->logout( $session_key );