mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
More test fixes
This commit is contained in:
parent
e9973670ea
commit
883c65981b
|
@ -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,
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue