Changeset 51331 for trunk/tests/phpunit/tests/rewrite/permastructs.php
- Timestamp:
- 07/05/2021 05:21:53 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/rewrite/permastructs.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rewrite/permastructs.php
r48939 r51331 35 35 36 36 add_permastruct( 'foo', 'bar/%foo%' ); 37 $this->assertI nternalType( 'array',$wp_rewrite->extra_permastructs['foo'] );37 $this->assertIsArray( $wp_rewrite->extra_permastructs['foo'] ); 38 38 $this->assertSame( '/bar/%foo%', $wp_rewrite->extra_permastructs['foo']['struct'] ); 39 39
Note: See TracChangeset
for help on using the changeset viewer.