diff --git tests/phpunit/tests/canonical.php tests/phpunit/tests/canonical.php
index e9133ab..522bc33 100644
|
|
class Tests_Canonical extends WP_Canonical_UnitTestCase { |
74 | 74 | // Categories with Dates |
75 | 75 | array( '/2008/04/?cat=1', array( 'url' => '/2008/04/?cat=1', 'qv' => array('cat' => '1', 'year' => '2008', 'monthnum' => '04' ) ), 17661 ), |
76 | 76 | // array( '/2008/?category_name=cat-a', array( 'url' => '/2008/?category_name=cat-a', 'qv' => array('category_name' => 'cat-a', 'year' => '2008' ) ) ), |
| 77 | array( '/2008/?category_name=cat-a', array( 'url' => '/category/cat-a/?year=2008', 'qv' => array('category_name' => 'cat-a', 'year' => '2008' ) ), 20386 ), |
77 | 78 | |
78 | 79 | // Pages |
79 | 80 | array( '/sample%20page/', array( 'url' => '/sample-page/', 'qv' => array('pagename' => 'sample-page', 'page' => '' ) ), 17653 ), // Page rules always set 'page' |