Changeset 38760 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 10/08/2016 12:04:39 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r38614 r38760 1808 1808 $month = date( 'm' ); 1809 1809 1810 $expected = '<img width="999" height="999" src="http:// example.org/wp-content/uploads/' . $year . '/' . $month . '/test-image-testsize-999x999.png"' .1810 $expected = '<img width="999" height="999" src="http://' . WP_TESTS_DOMAIN . '/wp-content/uploads/' . $year . '/' . $month . '/test-image-testsize-999x999.png"' . 1811 1811 ' class="attachment-testsize size-testsize" alt="test-image-large.png"' . 1812 ' srcset="http:// example.org/wp-content/uploads/' . $year . '/' . $month . '/test-image-testsize-999x999.png 999w,' .1813 ' http:// example.org/wp-content/uploads/' . $year . '/' . $month . '/test-image-large-150x150.png 150w"' .1812 ' srcset="http://' . WP_TESTS_DOMAIN . '/wp-content/uploads/' . $year . '/' . $month . '/test-image-testsize-999x999.png 999w,' . 1813 ' http://' . WP_TESTS_DOMAIN . '/wp-content/uploads/' . $year . '/' . $month . '/test-image-large-150x150.png 150w"' . 1814 1814 ' sizes="(max-width: 999px) 100vw, 999px" />'; 1815 1815
Note: See TracChangeset
for help on using the changeset viewer.