add test batches
This commit is contained in:
@@ -9,16 +9,16 @@ class PayPalPaymentTest extends TestCase
|
||||
{
|
||||
public function test_model_metadata_is_converted(): void
|
||||
{
|
||||
$model = new PayPalPayment;
|
||||
$model = new PayPalPayment();
|
||||
|
||||
$this->assertSame('paypal_payments', $model->getTable());
|
||||
$this->assertSame('id', $model->getKeyName());
|
||||
$this->assertSame(false, $model->timestamps);
|
||||
$this->assertSame(['webhook_id', 'parent_school_id', 'order_id', 'transaction_id', 'status', 'amount', 'currency', 'paypal_fee', 'net_amount', 'payer_email', 'merchant_id', 'event_type', 'summary', 'raw_payload', 'synced', 'sync_attempts', 'created_at'], $model->getFillable());
|
||||
$this->assertSame(["webhook_id", "parent_school_id", "order_id", "transaction_id", "status", "amount", "currency", "paypal_fee", "net_amount", "payer_email", "merchant_id", "event_type", "summary", "raw_payload", "synced", "sync_attempts", "created_at"], $model->getFillable());
|
||||
}
|
||||
|
||||
public function test_model_class_loads(): void
|
||||
{
|
||||
$this->assertInstanceOf(PayPalPayment::class, new PayPalPayment);
|
||||
$this->assertInstanceOf(PayPalPayment::class, new PayPalPayment());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user