Fixed category test
This commit is contained in:
parent
883c65981b
commit
86d398abda
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class ApiCategoriesCest
|
|||
$response = json_decode($I->grabResponse(), true);
|
||||
// dd($response);
|
||||
// sample verify
|
||||
$category = App\Models\Category::withCount('assets','accessories','consumables','components')
|
||||
$category = App\Models\Category::withCount('assets','accessories','consumables','components','licenses')
|
||||
->orderByDesc('created_at')->take(10)->get()->shuffle()->first();
|
||||
|
||||
$I->seeResponseContainsJson((new CategoriesTransformer)->transformCategory($category));
|
||||
|
|
Loading…
Add table
Reference in a new issue