add tests batch 20
This commit is contained in:
@@ -9,16 +9,16 @@ class ClassPreparationLogTest extends TestCase
|
||||
{
|
||||
public function test_model_metadata_is_converted(): void
|
||||
{
|
||||
$model = new ClassPreparationLog;
|
||||
$model = new ClassPreparationLog();
|
||||
|
||||
$this->assertSame('class_preparation_log', $model->getTable());
|
||||
$this->assertSame('id', $model->getKeyName());
|
||||
$this->assertSame(false, $model->timestamps);
|
||||
$this->assertSame(['class_section_id', 'class_section', 'school_year', 'prep_data', 'created_at'], $model->getFillable());
|
||||
$this->assertSame(["class_section_id", "class_section", "school_year", "prep_data", "created_at"], $model->getFillable());
|
||||
}
|
||||
|
||||
public function test_model_class_loads(): void
|
||||
{
|
||||
$this->assertInstanceOf(ClassPreparationLog::class, new ClassPreparationLog);
|
||||
$this->assertInstanceOf(ClassPreparationLog::class, new ClassPreparationLog());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user