Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray committed Mar 22, 2024
1 parent 9a37185 commit 6642ce0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion src/Order/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -626,7 +627,7 @@ public function getCurrency()

/**
* Get the description used when creating a mollie order.
*
*
* @return string
*/
public function getDescription()
Expand Down
18 changes: 9 additions & 9 deletions tests/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
]
)
Expand Down

0 comments on commit 6642ce0

Please sign in to comment.