fix tests
This commit is contained in:
@@ -9,16 +9,16 @@ class ClassPrepAdjustmentTest extends TestCase
|
||||
{
|
||||
public function test_model_metadata_is_converted(): void
|
||||
{
|
||||
$model = new ClassPrepAdjustment();
|
||||
$model = new ClassPrepAdjustment;
|
||||
|
||||
$this->assertSame('class_prep_adjustments', $model->getTable());
|
||||
$this->assertSame('id', $model->getKeyName());
|
||||
$this->assertSame(false, $model->timestamps);
|
||||
$this->assertSame(["class_section_id", "item_name", "adjustment", "adjustable", "school_year", "created_at"], $model->getFillable());
|
||||
$this->assertSame(['class_section_id', 'item_name', 'adjustment', 'adjustable', 'school_year', 'created_at'], $model->getFillable());
|
||||
}
|
||||
|
||||
public function test_model_class_loads(): void
|
||||
{
|
||||
$this->assertInstanceOf(ClassPrepAdjustment::class, new ClassPrepAdjustment());
|
||||
$this->assertInstanceOf(ClassPrepAdjustment::class, new ClassPrepAdjustment);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user