Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed Feb 18, 2022
1 parent 18d442d commit 6ba6c6d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions tests/DishesTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,8 @@ public function columns(): array
->title(__('Preço'))
->field('price_BRL')
->withSum('Sum Price', false, true)
->formatSum(fn ($sum) => 'R$ ' . number_format($sum, 2, '.', ','))
->withCount('Count', false, true)
->formatCount(fn ($count) => number_format($count, 2, '.', ''))
->withAvg('Avg Price', false, true)
->formatAvg(fn ($avg) => 'R$ ' . number_format($avg, 2, '.', ','))
->editOnClick($canEdit, 'price')
->makeInputRange('price', '.', ','),

Expand Down
3 changes: 0 additions & 3 deletions tests/DishesTableWithJoin.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,8 @@ public function columns(): array
->title(__('Preço'))
->field('price_BRL')
->withSum('Sum Price', false, true)
->formatSum(fn ($sum) => 'R$ ' . number_format($sum, 2, '.', ','))
->withCount('Count', false, true)
->formatCount(fn ($count) => number_format($count, 2, '.', ''))
->withAvg('Avg Price', false, true)
->formatAvg(fn ($avg) => 'R$ ' . number_format($avg, 2, '.', ','))
->editOnClick($canEdit)
->makeInputRange('price', '.', ','),

Expand Down

0 comments on commit 6ba6c6d

Please sign in to comment.