add tests batch 20
This commit is contained in:
@@ -9,16 +9,16 @@ class PaymentNotificationLogTest extends TestCase
|
||||
{
|
||||
public function test_model_metadata_is_converted(): void
|
||||
{
|
||||
$model = new PaymentNotificationLog;
|
||||
$model = new PaymentNotificationLog();
|
||||
|
||||
$this->assertSame('payment_notification_logs', $model->getTable());
|
||||
$this->assertSame('id', $model->getKeyName());
|
||||
$this->assertSame(false, $model->timestamps);
|
||||
$this->assertSame(['parent_id', 'invoice_id', 'school_year', 'period_year', 'period_month', 'type', 'to_email', 'cc_email', 'head_fa_notified', 'subject', 'body', 'status', 'error_message', 'balance_snapshot', 'created_at', 'sent_at'], $model->getFillable());
|
||||
$this->assertSame(["parent_id", "invoice_id", "school_year", "period_year", "period_month", "type", "to_email", "cc_email", "head_fa_notified", "subject", "body", "status", "error_message", "balance_snapshot", "created_at", "sent_at"], $model->getFillable());
|
||||
}
|
||||
|
||||
public function test_model_class_loads(): void
|
||||
{
|
||||
$this->assertInstanceOf(PaymentNotificationLog::class, new PaymentNotificationLog);
|
||||
$this->assertInstanceOf(PaymentNotificationLog::class, new PaymentNotificationLog());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user