Skip to content

Commit

Permalink
Remove caches and ignore. Fix bootstrapping during tests to remove ca…
Browse files Browse the repository at this point in the history
…ches
  • Loading branch information
darylldoyle committed Aug 14, 2024
1 parent faed559 commit a5e888d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ upgrade
cache
plugins
.phpunit.result.cache
class-loader-cache/*

# Project Files
dist
Expand Down

This file was deleted.

1 change: 1 addition & 0 deletions mu-plugins/10up-plugin/tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
define( 'PHPUNIT_RUNNER', true );
define( 'FIXTURES_DIR', TEST_DIR . '/fixtures/' );
define( 'SAVEQUERIES', false );
define( 'WP_ENVIRONMENT_TYPE', 'development' );

if ( ! $_tests_dir ) {
$_tests_dir = rtrim( sys_get_temp_dir(), '/\\' ) . '/wordpress-tests-lib';
Expand Down

This file was deleted.

1 change: 1 addition & 0 deletions themes/10up-theme/tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
define( 'PHPUNIT_RUNNER', true );
define( 'FIXTURES_DIR', TEST_DIR . '/fixtures/' );
define( 'SAVEQUERIES', false );
define( 'WP_ENVIRONMENT_TYPE', 'development' );

if ( ! $_tests_dir ) {
$_tests_dir = rtrim( sys_get_temp_dir(), '/\\' ) . '/wordpress-tests-lib';
Expand Down

0 comments on commit a5e888d

Please sign in to comment.