Changeset 29967 for trunk/tests/phpunit/tests/dependencies/styles.php
- Timestamp:
- 10/19/2014 09:23:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dependencies/styles.php
r25786 r29967 99 99 100 100 $expected = "<link rel='stylesheet' id='handle-css' href='http://example.com?ver=1' type='text/css' media='all' />\n"; 101 $expected .= "<style type='text/css'>\n";101 $expected .= "<style id='handle-inline-css' type='text/css'>\n"; 102 102 $expected .= "$style\n"; 103 103 $expected .= "</style>\n"; … … 127 127 128 128 $expected = "<link rel='stylesheet' id='handle-css' href='http://example.com?ver=1' type='text/css' media='all' />\n"; 129 $expected .= "<style type='text/css'>\n";129 $expected .= "<style id='handle-inline-css' type='text/css'>\n"; 130 130 $expected .= "$style\n"; 131 131 $expected .= "</style>\n"; … … 154 154 155 155 $expected = "<link rel='stylesheet' id='handle-css' href='http://example.com?ver=1' type='text/css' media='all' />\n"; 156 $expected .= "<style type='text/css'>\n";156 $expected .= "<style id='handle-inline-css' type='text/css'>\n"; 157 157 $expected .= "$style1\n"; 158 158 $expected .= "$style2\n"; … … 176 176 public function test_plugin_doing_inline_styles_wrong() { 177 177 178 $style = "<style type='text/css'>\n";178 $style = "<style id='handle-inline-css' type='text/css'>\n"; 179 179 $style .= ".thing {\n"; 180 180 $style .= "\tbackground: red;\n";
Note: See TracChangeset
for help on using the changeset viewer.