WordPress.org

Make WordPress Core

Ticket #20388: 20388-tests.patch

File 20388-tests.patch, 740 bytes (added by boonebgorges, 6 years ago)
  • tests/phpunit/tests/canonical.php

    diff --git tests/phpunit/tests/canonical.php tests/phpunit/tests/canonical.php
    index c06507b..e4043a4 100644
    class Tests_Canonical extends WP_Canonical_UnitTestCase { 
    100100
    101101                        // Comments
    102102                        array( '/2008/03/03/comment-test/?cpage=2', '/2008/03/03/comment-test/comment-page-2/' ),
     103                        array( '/2008/03/03/comment-test/comment-page-20/', '/2008/03/03/comment-test/comment-page-3/', 20388 ), // there's only 3 pages
     104                        array( '/2008/03/03/comment-test/?cpage=30', '/2008/03/03/comment-test/comment-page-3/', 20388 ), // there's only 3 pages
    103105
    104106                        // Attachments
    105107                        array( '/?attachment_id=611', '/2008/06/10/post-format-test-gallery/canola2/' ),