From 3337e709ee3734dcce37480ab6e16f7c5eb5ae20 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 28 May 2019 04:18:53 +0000 Subject: [PATCH] Fix unit tests after [45456]. The query string is a bit different but the results are the same. See #45346. git-svn-id: https://develop.svn.wordpress.org/trunk@45458 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/dependencies/scripts.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/phpunit/tests/dependencies/scripts.php b/tests/phpunit/tests/dependencies/scripts.php index 1812919f2a..b1dda73d97 100644 --- a/tests/phpunit/tests/dependencies/scripts.php +++ b/tests/phpunit/tests/dependencies/scripts.php @@ -118,7 +118,7 @@ JS; $print_scripts = get_echo( '_print_scripts' ); $ver = get_bloginfo( 'version' ); - $expected = "\n"; + $expected = "\n"; $this->assertEquals( $expected, $print_scripts ); } @@ -562,7 +562,7 @@ JS; wp_add_inline_script( 'three', 'console.log("after three");' ); $ver = get_bloginfo( 'version' ); - $expected = "\n"; + $expected = "\n"; $expected .= "\n"; $expected .= "\n"; $expected .= "\n"; @@ -614,7 +614,7 @@ JS; $wp_scripts->do_concat = true; $ver = get_bloginfo( 'version' ); - $expected = "\n"; + $expected = "\n"; $expected .= "\n"; $expected .= "\n"; @@ -639,7 +639,7 @@ JS; $wp_scripts->do_concat = true; $ver = get_bloginfo( 'version' ); - $expected = "\n"; + $expected = "\n"; $expected .= "