Remove today_avg as redundant due to other data
This commit is contained in:
parent
86955c0d1c
commit
a680d7b9df
2 changed files with 1 additions and 3 deletions
|
@ -14,7 +14,6 @@ sub post_today {
|
|||
success => Mojo::JSON->true,
|
||||
today_sum => $today_sum,
|
||||
today_count => $today_count,
|
||||
today_avg => $today_sum / $today_count,
|
||||
});
|
||||
|
||||
}
|
||||
|
|
|
@ -67,7 +67,6 @@ $t->post_ok('/api/stats' => json => { session_key => $session_key } )
|
|||
->status_is(200)
|
||||
->json_is('/success', Mojo::JSON->true)
|
||||
->json_is('/today_sum', 55)
|
||||
->json_is('/today_count', 10)
|
||||
->json_is('/today_avg', 5.5);
|
||||
->json_is('/today_count', 10);
|
||||
|
||||
done_testing;
|
||||
|
|
Reference in a new issue