Improve test coverage.

This commit is contained in:
James Cole
2019-08-02 05:25:24 +02:00
parent 4bd8e1b11e
commit fc70afa3ea
23 changed files with 202 additions and 57923 deletions

View File

@@ -77,7 +77,7 @@ class Category
public function getCategories(): Collection
{
$set = $this->categories->sortBy(
function (CategoryModel $category) {
static function (CategoryModel $category) {
return $category->spent;
}
);