diff --git a/src/Order/Order.php b/src/Order/Order.php index 61689765..0974b3d7 100644 --- a/src/Order/Order.php +++ b/src/Order/Order.php @@ -219,6 +219,7 @@ public function processPayment() case $totalDue->isZero(): // No payment processing required $this->mollie_payment_id = null; + logger()->info('no payment processing'); break; @@ -626,7 +627,7 @@ public function getCurrency() /** * Get the description used when creating a mollie order. - * + * * @return string */ public function getDescription() diff --git a/tests/BaseTestCase.php b/tests/BaseTestCase.php index c8af1115..7b91ca76 100644 --- a/tests/BaseTestCase.php +++ b/tests/BaseTestCase.php @@ -60,39 +60,39 @@ protected function setupDatabase(): void ], [ 'class' => '\CreateSubscriptionsTable', - 'file_path' => $migrations_dir . '/create_subscriptions_table.php', + 'file_path' => $migrations_dir . '/create_subscriptions_table.php.stub', ], [ 'class' => '\CreateOrderItemsTable', - 'file_path' => $migrations_dir . '/create_order_items_table.php', + 'file_path' => $migrations_dir . '/create_order_items_table.php.stub', ], [ 'class' => '\CreateOrdersTable', - 'file_path' => $migrations_dir . '/create_orders_table.php', + 'file_path' => $migrations_dir . '/create_orders_table.php.stub', ], [ 'class' => '\CreateCreditsTable', - 'file_path' => $migrations_dir . '/create_credits_table.php', + 'file_path' => $migrations_dir . '/create_credits_table.php.stub', ], [ 'class' => '\CreateRedeemedCouponsTable', - 'file_path' => $migrations_dir . '/create_redeemed_coupons_table.php', + 'file_path' => $migrations_dir . '/create_redeemed_coupons_table.php.stub', ], [ 'class' => '\CreateAppliedCouponsTable', - 'file_path' => $migrations_dir . '/create_applied_coupons_table.php', + 'file_path' => $migrations_dir . '/create_applied_coupons_table.php.stub', ], [ 'class' => '\CreatePaymentsTable', - 'file_path' => $migrations_dir . '/create_payments_table.php', + 'file_path' => $migrations_dir . '/create_payments_table.php.stub', ], [ 'class' => '\CreateRefundItemsTable', - 'file_path' => $migrations_dir . '/create_refund_items_table.php', + 'file_path' => $migrations_dir . '/create_refund_items_table.php.stub', ], [ 'class' => '\CreateRefundsTable', - 'file_path' => $migrations_dir . '/create_refunds_table.php', + 'file_path' => $migrations_dir . '/create_refunds_table.php.stub', ], ] )