From 0162e9aa2db312d16d883f43e9d7107c14b75a1f Mon Sep 17 00:00:00 2001 From: aledesma-godaddy Date: Mon, 6 Nov 2023 11:11:50 -0700 Subject: [PATCH] fix use tripple equal operator --- .dev/tests/phpunit/includes/test-coblocks-block-assets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.dev/tests/phpunit/includes/test-coblocks-block-assets.php b/.dev/tests/phpunit/includes/test-coblocks-block-assets.php index 95b4ccd66ed..fce2bd001ce 100644 --- a/.dev/tests/phpunit/includes/test-coblocks-block-assets.php +++ b/.dev/tests/phpunit/includes/test-coblocks-block-assets.php @@ -106,7 +106,7 @@ public function test_editor_assets_scripts() { foreach( $files as $file ) { $dist_script = pathinfo( $file, PATHINFO_FILENAME ); - if ( $dist_script == 'coblocks-plugin-deactivation' ) { + if ( $dist_script === 'coblocks-plugin-deactivation' ) { $this->assertFalse( array_key_exists( $dist_script, $wp_scripts->registered ) ); continue; }