Unit Tests: prevent rewrite spillage from @group author
unit tests.
See #36587. git-svn-id: https://develop.svn.wordpress.org/trunk@37306 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a776b0b6df
commit
aba30dc390
@ -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</a>', $link );
|
||||
|
Loading…
Reference in New Issue
Block a user