WordPress.org

Make WordPress Core

Ticket #17653: 17653-tests.2.patch

File 17653-tests.2.patch, 851 bytes (added by boonebgorges, 6 years ago)

Removing from trunk as per #30284

  • tests/phpunit/tests/canonical.php

    diff --git tests/phpunit/tests/canonical.php tests/phpunit/tests/canonical.php
    index 4693f7a..e9133ab 100644
    class Tests_Canonical extends WP_Canonical_UnitTestCase { 
    7676//                      array( '/2008/?category_name=cat-a', array( 'url' => '/2008/?category_name=cat-a', 'qv' => array('category_name' => 'cat-a', 'year' => '2008' ) ) ),
    7777
    7878                        // Pages
     79                        array( '/sample%20page/', array( 'url' => '/sample-page/', 'qv' => array('pagename' => 'sample-page', 'page' => '' ) ), 17653 ), // Page rules always set 'page'
    7980                        array( '/sample------page/', array( 'url' => '/sample-page/', 'qv' => array('pagename' => 'sample-page', 'page' => '' ) ), 14773 ),
    8081                        array( '/child-page-1/', '/parent-page/child-page-1/'),
    8182                        array( '/?page_id=144', '/parent-page/child-page-1/'),