diff --git a/phpunit/webfonts-api/class-wp-webfonts-controller-test.php b/phpunit/webfonts-api/class-wp-webfonts-controller-test.php index bba5e8aae7374..5c9717bfbf7cc 100644 --- a/phpunit/webfonts-api/class-wp-webfonts-controller-test.php +++ b/phpunit/webfonts-api/class-wp-webfonts-controller-test.php @@ -177,7 +177,7 @@ public function test_generate_and_enqueue_styles_with_permission( $stylesheet_ha * As this method adds an inline style, the test needs to print it. * Print the webfont styles and test the output matches expectation. */ - $expected = "\n"; $this->expectOutputString( $expected );