Fix Laravel Pint formatting
This commit is contained in:
@@ -9,16 +9,16 @@ class DiscountVoucherTest extends TestCase
|
||||
{
|
||||
public function test_model_metadata_is_converted(): void
|
||||
{
|
||||
$model = new DiscountVoucher();
|
||||
$model = new DiscountVoucher;
|
||||
|
||||
$this->assertSame('discount_vouchers', $model->getTable());
|
||||
$this->assertSame('id', $model->getKeyName());
|
||||
$this->assertSame(true, $model->timestamps);
|
||||
$this->assertSame(["code", "discount_type", "description", "discount_value", "max_uses", "times_used", "valid_from", "valid_until", "is_active", "created_at", "updated_at", "school_year", "semester"], $model->getFillable());
|
||||
$this->assertSame(['code', 'discount_type', 'description', 'discount_value', 'max_uses', 'times_used', 'valid_from', 'valid_until', 'is_active', 'created_at', 'updated_at', 'school_year', 'semester'], $model->getFillable());
|
||||
}
|
||||
|
||||
public function test_model_class_loads(): void
|
||||
{
|
||||
$this->assertInstanceOf(DiscountVoucher::class, new DiscountVoucher());
|
||||
$this->assertInstanceOf(DiscountVoucher::class, new DiscountVoucher);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user