From 3fb5f6f5bef944da0f8a626b9f5daccb1c2de23c Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 17 Jul 2018 01:03:25 -0700 Subject: [PATCH] Revert --- tests/api/ApiAssetsCest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */