Changeset 58097 for trunk/tests/phpunit/tests/media/nextImageLink.php
- Timestamp:
- 05/04/2024 07:23:31 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media/nextImageLink.php
r53480 r58097 31 31 'current_attachment_index' => 4, 32 32 'expected_attachment_index' => 5, 33 'expected' => '<a href=\'http:// example.org/?attachment_id=%%ID%%\'><img width="1" height="1" src="' . WP_CONTENT_URL . '/uploads/image5.jpg" class="attachment-thumbnail size-thumbnail" alt="" decoding="async" loading="lazy" /></a>',33 'expected' => '<a href=\'http://' . WP_TESTS_DOMAIN . '/?attachment_id=%%ID%%\'><img width="1" height="1" src="' . WP_CONTENT_URL . '/uploads/image5.jpg" class="attachment-thumbnail size-thumbnail" alt="" decoding="async" loading="lazy" /></a>', 34 34 ), 35 35 'with text when has next link' => array( 36 36 'current_attachment_index' => 4, 37 37 'expected_attachment_index' => 5, 38 'expected' => '<a href=\'http:// example.org/?attachment_id=%%ID%%\'>Some text</a>',38 'expected' => '<a href=\'http://' . WP_TESTS_DOMAIN . '/?attachment_id=%%ID%%\'>Some text</a>', 39 39 'args' => array( 'text' => 'Some text' ), 40 40 ),
Note: See TracChangeset
for help on using the changeset viewer.