mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-01-30 13:37:33 +00:00
Tests: Remove redundant unregister call in block bindings tear down
Only block bindings sources registered in the tests should get unregistered. Follow-up for [57375]. See #60282. Props czapla. git-svn-id: https://develop.svn.wordpress.org/trunk@57385 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a9c985cde4
commit
cabfa6f52c
@ -26,7 +26,6 @@ class Tests_Block_Bindings_Register extends WP_UnitTestCase {
|
||||
if ( str_starts_with( $source_name, 'test/' ) ) {
|
||||
unregister_block_bindings_source( $source_name );
|
||||
}
|
||||
unregister_block_bindings_source( $source_name );
|
||||
}
|
||||
|
||||
parent::tear_down();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user