mirror of
git://develop.git.wordpress.org/
synced 2025-03-14 17:09:47 +01: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…
x
Reference in New Issue
Block a user