mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
16 lines
621 B
PHP
16 lines
621 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
define('TESTS_ROOT_DIR', dirname(__DIR__));
|
|
define('ROOT_DIR', dirname(TESTS_ROOT_DIR));
|
|
|
|
require_once TESTS_ROOT_DIR . '/inc/wp_functions.php';
|
|
require_once ROOT_DIR . '/vendor/autoload.php';
|
|
require_once TESTS_ROOT_DIR . '/stubs/WC_Payment_Gateway.php';
|
|
require_once TESTS_ROOT_DIR . '/stubs/WC_Payment_Gateway_CC.php';
|
|
require_once TESTS_ROOT_DIR . '/stubs/WC_Ajax.php';
|
|
require_once TESTS_ROOT_DIR . '/stubs/WC_Checkout.php';
|
|
require_once TESTS_ROOT_DIR . '/stubs/Task.php';
|
|
require_once TESTS_ROOT_DIR . '/stubs/DefaultPaymentGateways.php';
|
|
|
|
Hamcrest\Util::registerGlobalFunctions();
|