diff --git a/tests/phpunit/tests/canonical/robots.php b/tests/phpunit/tests/canonical/robots.php new file mode 100644 index 0000000000..e9cd45effc --- /dev/null +++ b/tests/phpunit/tests/canonical/robots.php @@ -0,0 +1,20 @@ +set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' ); + $this->assertCanonical( '/robots.txt', '/robots.txt' ); + $this->assertCanonical( '/robots.txt/', '/robots.txt' ); + } + +}