Skip to content

A free open source IT asset/license management system

Revert

snipe3fb5f6f5bef9
diff --git a/tests/api/ApiAssetsCest.php b/tests/api/ApiAssetsCest.php
index 0b0835593e..51d174c592 100644
--- a/tests/api/ApiAssetsCest.php
+++ b/tests/api/ApiAssetsCest.php
@@ -33,8 +33,8 @@ class ApiAssetsCest
$response = json_decode($I->grabResponse(), true);
// sample verify
- $assets = Asset::orderByDesc('id')->take(20)->get()->first();
- $I->seeResponseContainsJson($I->removeTimestamps((new AssetsTransformer)->transformAssets($assets)));
+ $asset = Asset::orderByDesc('id')->take(20)->get()->first();
+ $I->seeResponseContainsJson($I->removeTimestamps((new AssetsTransformer)->transformAsset($asset)));
}
/** @test */