From 883c65981b43457b8be45938586cf9c8e3f13427 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 16 May 2018 20:09:18 -0700 Subject: [PATCH] More test fixes --- tests/api/ApiLicensesCest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/api/ApiLicensesCest.php b/tests/api/ApiLicensesCest.php index c38536ec10..4e985d4273 100644 --- a/tests/api/ApiLicensesCest.php +++ b/tests/api/ApiLicensesCest.php @@ -80,7 +80,7 @@ class ApiLicensesCest /** @test */ public function updateLicenseWithPatch(ApiTester $I, $scenario) { - $I->wantTo('Update an license with PATCH'); + $I->wantTo('Update a license with PATCH'); // create $license = factory(\App\Models\License::class)->states('acrobat')->create([ @@ -92,8 +92,7 @@ class ApiLicensesCest $temp_license = factory(\App\Models\License::class)->states('office')->make([ 'company_id' => 3, - 'depreciation_id' => 2, - 'company_id' => 4 + 'depreciation_id' => 2 ]); $data = [ @@ -114,6 +113,7 @@ class ApiLicensesCest 'seats' => $temp_license->seats, 'serial' => $temp_license->serial, 'supplier_id' => $temp_license->supplier_id, + 'category_id' => $temp_license->category_id, 'termination_date' => $temp_license->termination_date, ];