From 281142bfb4c913e1945d0d014b29e334cf137e55 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Fri, 3 Dec 2021 15:34:51 +0000 Subject: [PATCH] Coding standards: Address a few coding standards issues after [52312]. Follow-up to [52312]. See #54558. git-svn-id: https://develop.svn.wordpress.org/trunk@52313 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/blocks/editor.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/tests/blocks/editor.php b/tests/phpunit/tests/blocks/editor.php index 786fa2b19f..1f872bf909 100644 --- a/tests/phpunit/tests/blocks/editor.php +++ b/tests/phpunit/tests/blocks/editor.php @@ -516,11 +516,11 @@ class Tests_Blocks_Editor extends WP_UnitTestCase { */ public function data_block_editor_rest_api_preload_adds_missing_leading_slash() { return array( - 'a string without a slash' => array( + 'a string without a slash' => array( 'preload_paths' => array( 'wp/v2/blocks' ), 'expected' => '\/wp\/v2\/blocks', ), - 'a string with a slash' => array( + 'a string with a slash' => array( 'preload_paths' => array( '/wp/v2/blocks' ), 'expected' => '\/wp\/v2\/blocks', ), @@ -532,7 +532,7 @@ class Tests_Blocks_Editor extends WP_UnitTestCase { 'preload_paths' => array( array( 'wp/v2/blocks', 'OPTIONS' ) ), 'expected' => '\/wp\/v2\/blocks', ), - 'an array with a string with a slash' => array( + 'an array with a string with a slash' => array( 'preload_paths' => array( array( '/wp/v2/blocks', 'OPTIONS' ) ), 'expected' => '\/wp\/v2\/blocks', ),