mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Try to fix test
This is a listing, not a single asset
This commit is contained in:
parent
0f85d6810b
commit
5dc2ac9e22
|
@ -33,8 +33,8 @@ class ApiAssetsCest
|
|||
|
||||
$response = json_decode($I->grabResponse(), true);
|
||||
// sample verify
|
||||
$asset = Asset::orderByDesc('id')->take(20)->get()->first();
|
||||
$I->seeResponseContainsJson($I->removeTimestamps((new AssetsTransformer)->transformAsset($asset)));
|
||||
$assets = Asset::orderByDesc('id')->take(20)->get()->first();
|
||||
$I->seeResponseContainsJson($I->removeTimestamps((new AssetsTransformer)->transformAssets($assets)));
|
||||
}
|
||||
|
||||
/** @test */
|
||||
|
|
Loading…
Reference in a new issue