diff --git a/.gitignore b/.gitignore index fac4a5b..f46b33e 100755 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ upgrade cache plugins .phpunit.result.cache +class-loader-cache/* # Project Files dist diff --git a/mu-plugins/10up-plugin/includes/classes/class-loader-cache/discoverer-cache-TenUpPlugin b/mu-plugins/10up-plugin/includes/classes/class-loader-cache/discoverer-cache-TenUpPlugin deleted file mode 100644 index 87b907f..0000000 --- a/mu-plugins/10up-plugin/includes/classes/class-loader-cache/discoverer-cache-TenUpPlugin +++ /dev/null @@ -1 +0,0 @@ -a:9:{i:0;s:38:"TenUpPlugin\PostTypes\AbstractPostType";i:1;s:26:"TenUpPlugin\PostTypes\Post";i:2;s:26:"TenUpPlugin\PostTypes\Demo";i:3;s:26:"TenUpPlugin\PostTypes\Page";i:4;s:42:"TenUpPlugin\PostTypes\AbstractCorePostType";i:5;s:18:"TenUpPlugin\Module";i:6;s:39:"TenUpPlugin\Taxonomies\AbstractTaxonomy";i:7;s:27:"TenUpPlugin\Taxonomies\Demo";i:8;s:32:"TenUpPlugin\ModuleInitialization";} \ No newline at end of file diff --git a/mu-plugins/10up-plugin/tests/bootstrap.php b/mu-plugins/10up-plugin/tests/bootstrap.php index d2f73a8..421daf0 100644 --- a/mu-plugins/10up-plugin/tests/bootstrap.php +++ b/mu-plugins/10up-plugin/tests/bootstrap.php @@ -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'; diff --git a/themes/10up-theme/includes/classes/class-loader-cache/discoverer-cache-TenUpTheme b/themes/10up-theme/includes/classes/class-loader-cache/discoverer-cache-TenUpTheme deleted file mode 100644 index ff2704e..0000000 --- a/themes/10up-theme/includes/classes/class-loader-cache/discoverer-cache-TenUpTheme +++ /dev/null @@ -1 +0,0 @@ -a:2:{i:0;s:17:"TenUpTheme\Module";i:1;s:31:"TenUpTheme\ModuleInitialization";} \ No newline at end of file diff --git a/themes/10up-theme/tests/bootstrap.php b/themes/10up-theme/tests/bootstrap.php index 4c2cffd..e7cc37b 100644 --- a/themes/10up-theme/tests/bootstrap.php +++ b/themes/10up-theme/tests/bootstrap.php @@ -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';