mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Fixed category test
This commit is contained in:
parent
883c65981b
commit
86d398abda
|
@ -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…
Reference in a new issue