Skip to content

Commit

Permalink
style does not include type
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Nov 12, 2021
1 parent 19740da commit ba075b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpunit/webfonts-api/class-wp-webfonts-controller-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "<style id='{$stylesheet_handle}-inline-css' type='text/css'>\n";
$expected = "<style id='{$stylesheet_handle}-inline-css'>\n";
$expected .= $provider->get_css() . "\n";
$expected .= "</style>\n";
$this->expectOutputString( $expected );
Expand Down

0 comments on commit ba075b3

Please sign in to comment.