Minor fix taxtype test

This commit is contained in:
harshjagad20
2021-06-01 16:33:07 +05:30
parent ed966b02eb
commit b4956d38f7

View File

@ -99,7 +99,8 @@ test('create negative tax type', function () {
'percent' => -9.99 'percent' => -9.99
]); ]);
postJson('api/v1/tax-types', $taxType)->assertOk(); postJson('api/v1/tax-types', $taxType)
->assertOk();
$this->assertDatabaseHas('tax_types', $taxType); $this->assertDatabaseHas('tax_types', $taxType);
}); });