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