Changeset 48939 for trunk/tests/phpunit/tests/admin/includesTheme.php
- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesTheme.php
r48937 r48939 49 49 switch_theme( $theme['Template'], $theme['Stylesheet'] ); 50 50 51 $this->assert EqualSetsWithIndex(51 $this->assertSameSetsWithIndex( 52 52 array( 53 53 'Top Level' => 'template-top-level.php', … … 63 63 switch_theme( $theme['Template'], $theme['Stylesheet'] ); 64 64 65 $this->assert EqualSetsWithIndex(65 $this->assertSameSetsWithIndex( 66 66 array( 67 67 'Top Level' => 'template-top-level.php', … … 82 82 switch_theme( $theme['Template'], $theme['Stylesheet'] ); 83 83 84 $this->assert EqualSetsWithIndex(84 $this->assertSameSetsWithIndex( 85 85 array( 86 86 'Top Level' => 'template-top-level-post-types.php', … … 89 89 get_page_templates( null, 'foo' ) 90 90 ); 91 $this->assert EqualSetsWithIndex(91 $this->assertSameSetsWithIndex( 92 92 array( 93 93 'Top Level' => 'template-top-level-post-types.php', … … 108 108 switch_theme( $theme['Template'], $theme['Stylesheet'] ); 109 109 110 $this->assert EqualSetsWithIndex(110 $this->assertSameSetsWithIndex( 111 111 array( 112 112 'No Trailing Period' => '38766/no-trailing-period-post-types.php', … … 119 119 get_page_templates( null, 'period' ) 120 120 ); 121 $this->assert EqualSetsWithIndex(121 $this->assertSameSetsWithIndex( 122 122 array( 123 123 'No Trailing Period' => '38766/no-trailing-period-post-types.php', … … 140 140 switch_theme( $theme['Template'], $theme['Stylesheet'] ); 141 141 142 $this->assert EqualSetsWithIndex(142 $this->assertSameSetsWithIndex( 143 143 array( 144 144 'Top Level' => 'template-top-level-post-types.php', … … 150 150 ); 151 151 152 $this->assert EqualSetsWithIndex(152 $this->assertSameSetsWithIndex( 153 153 array( 154 154 'Top Level' => 'template-top-level-post-types.php', … … 158 158 ); 159 159 160 $this->assert EqualSetsWithIndex(160 $this->assertSameSetsWithIndex( 161 161 array( 162 162 'Top Level' => 'template-top-level.php', … … 181 181 $post_templates = $theme->get_post_templates(); 182 182 183 $this->assert EqualSetsWithIndex(183 $this->assertSameSetsWithIndex( 184 184 array( 185 185 'template-top-level-post-types.php' => 'Top Level', … … 191 191 ); 192 192 193 $this->assert EqualSetsWithIndex(193 $this->assertSameSetsWithIndex( 194 194 array( 195 195 'template-top-level-post-types.php' => 'Top Level', … … 199 199 ); 200 200 201 $this->assert EqualSetsWithIndex(201 $this->assertSameSetsWithIndex( 202 202 array( 203 203 'template-top-level.php' => 'Top Level',
Note: See TracChangeset
for help on using the changeset viewer.