Changeset 903 in tests for trunk/tests/test_includes_wp-styles.php
- Timestamp:
- 07/16/2012 05:24:25 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/test_includes_wp-styles.php
r896 r903 35 35 $expected .= "<link rel='stylesheet' id='no-deps-null-version-css' href='http://example.com' type='text/css' media='all' />\n"; 36 36 $expected .= "<link rel='stylesheet' id='no-deps-null-version-print-media-css' href='http://example.com' type='text/css' media='print' />\n"; 37 37 38 38 $this->assertEquals($expected, get_echo('wp_print_styles')); 39 39 … … 41 41 $this->assertEquals("", get_echo('wp_print_styles')); 42 42 } 43 43 44 44 /** 45 45 * Test the different protocol references in wp_enqueue_style … … 62 62 wp_enqueue_style( 'reset-css-https', 'http://yui.yahooapis.com/2.8.1/build/reset/reset-min.css' ); 63 63 $expected .= "<link rel='stylesheet' id='reset-css-https-css' href='http://yui.yahooapis.com/2.8.1/build/reset/reset-min.css?ver=$ver' type='text/css' media='all' />\n"; 64 64 65 65 // Try with an automatic protocol reference (//) 66 66 wp_enqueue_style( 'reset-css-doubleslash', '//yui.yahooapis.com/2.8.1/build/reset/reset-min.css' );
Note: See TracChangeset
for help on using the changeset viewer.