Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
frosso committed Nov 15, 2024
1 parent d27bcd2 commit d5875fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/class-wc-payments.php
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ public static function init() {
include_once __DIR__ . '/express-checkout/class-wc-payments-express-checkout-ajax-handler.php';
include_once __DIR__ . '/express-checkout/class-wc-payments-express-checkout-button-display-handler.php';
include_once __DIR__ . '/express-checkout/class-wc-payments-express-checkout-button-handler.php';
include_once __DIR__ . '/class-wc-payments-payment-request-button-handler.php';
include_once __DIR__ . '/class-wc-payments-woopay-button-handler.php';
include_once __DIR__ . '/class-wc-payments-woopay-direct-checkout.php';
include_once __DIR__ . '/class-wc-payments-apple-pay-registration.php';
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ function () {
require_once $_plugin_dir . 'includes/admin/class-wc-rest-payments-customer-controller.php';
require_once $_plugin_dir . 'includes/admin/class-wc-rest-payments-refunds-controller.php';

require_once $_plugin_dir . 'includes/class-wc-payments-payment-request-button-handler.php';

// Load currency helper class early to ensure its implementation is used over the one resolved during further test initialization.
require_once __DIR__ . '/helpers/class-wc-helper-site-currency.php';

Expand Down

0 comments on commit d5875fc

Please sign in to comment.