diff --git a/tests/phpunit/tests/user/author.php b/tests/phpunit/tests/user/author.php index 73ae3b6999..69ca5ce6ce 100644 --- a/tests/phpunit/tests/user/author.php +++ b/tests/phpunit/tests/user/author.php @@ -140,6 +140,8 @@ class Tests_User_Author_Template extends WP_UnitTestCase { $url = sprintf( 'http://%1$s/author/%2$s/', WP_TESTS_DOMAIN, $author->user_nicename ); + $this->set_permalink_structure( '' ); + $this->assertContains( $url, $link ); $this->assertContains( 'Posts by Foo', $link ); $this->assertContains( '>Foo', $link );