Make WordPress Core

Changeset 37306


Ignore:
Timestamp:
04/22/2016 11:47:27 PM (8 years ago)
Author:
wonderboymusic
Message:

Unit Tests: prevent rewrite spillage from @group author unit tests.

See #36587.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/user/author.php

    r35242 r37306  
    141141        $url = sprintf( 'http://%1$s/author/%2$s/', WP_TESTS_DOMAIN, $author->user_nicename );
    142142
     143        $this->set_permalink_structure( '' );
     144
    143145        $this->assertContains( $url, $link );
    144146        $this->assertContains( 'Posts by Foo', $link );
Note: See TracChangeset for help on using the changeset viewer.