From 481c5efb11dddb9bf5923452f2bae4e7f4a476fd Mon Sep 17 00:00:00 2001 From: Bart Jaskulski <bjaskulski@protonmail.com> Date: Fri, 8 Apr 2022 12:01:00 +0200 Subject: [PATCH] ci: update tests --- .gitlab-ci.yml | 1 + tests/integration/bootstrap.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 538bcc9..009712c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ variables: DISABLE_FUNCTIONAL: 1 DISABLE_ACCEPTANCE: 1 + DISABLE_CODECEPTION: 1 IS_LIBRARY: 1 DISABLE_PHP_5_5: 1 diff --git a/tests/integration/bootstrap.php b/tests/integration/bootstrap.php index a422fd9..5c63125 100644 --- a/tests/integration/bootstrap.php +++ b/tests/integration/bootstrap.php @@ -23,6 +23,6 @@ tests_add_filter( 'muplugins_loaded', function () { }, 100 ); putenv('WP_TESTS_DIR=' . getenv( 'WP_DEVELOP_DIR' ) . '/tests/phpunit'); -require_once( getenv( 'WC_DEVELOP_DIR' ) . '/tests/bootstrap.php' ); +require_once( getenv( 'WC_DEVELOP_DIR' ) . '/tests/legacy/bootstrap.php' ); -do_action('plugins_loaded'); \ No newline at end of file +do_action('plugins_loaded'); -- GitLab