Skip to content

Commit

Permalink
fix(WPTestCase) exclude WP_Block_Bindings_Registry::instance prop fro…
Browse files Browse the repository at this point in the history
…m backup
  • Loading branch information
lucatume committed Apr 7, 2024
1 parent 679acba commit 67f5615
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TestCase/WPTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ class WPTestCase extends Unit
protected $backupStaticAttributesExcludeList = [
// WordPress
'WP_Block_Type_Registry' => ['instance'],
'WP_Block_Bindings_Registry' => ['instance'],
// wp-browser
'lucatume\WPBrowser\Events\Dispatcher' => ['eventDispatcher'],
self::class => ['coreTestCaseMap'],
Expand Down

0 comments on commit 67f5615

Please sign in to comment.