Skip to content

Commit 51d9f15

Browse files
committed
Clear resolve instances
1 parent 71bf6e6 commit 51d9f15

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/app/PluginTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
use Codex\Contracts\Extendable;
1212
use Codex\Contracts\Hookable;
1313
use Codex\Core\Config;
14+
use Codex\Facades\App;
1415
use Codex\Foundation\Blocks;
1516
use Codex\Foundation\Hooks\Hook;
1617
use Codex\Foundation\Settings\Registry as SettingsRegistry;
@@ -54,6 +55,8 @@ public function tear_down(): void
5455
{
5556
unset($GLOBALS[Overture::class]);
5657

58+
App::clearResolvedInstances();
59+
5760
add_action('admin_init', '_wp_check_for_scheduled_split_terms');
5861
add_action('admin_init', '_wp_check_for_scheduled_update_comment_type');
5962
add_action('admin_init', 'default_password_nag_handler');

0 commit comments

Comments
 (0)