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:
Scott Taylor 2016-04-22 23:47:27 +00:00
parent a776b0b6df
commit aba30dc390
1 changed files with 2 additions and 0 deletions

View File

@ -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 ); $url = sprintf( 'http://%1$s/author/%2$s/', WP_TESTS_DOMAIN, $author->user_nicename );
$this->set_permalink_structure( '' );
$this->assertContains( $url, $link ); $this->assertContains( $url, $link );
$this->assertContains( 'Posts by Foo', $link ); $this->assertContains( 'Posts by Foo', $link );
$this->assertContains( '>Foo</a>', $link ); $this->assertContains( '>Foo</a>', $link );