Changeset 57244 for trunk/tests/phpunit/tests/theme.php
- Timestamp:
- 01/06/2024 12:59:49 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme.php
r57129 r57244 1260 1260 switch_theme( $old_theme->get_stylesheet() ); 1261 1261 1262 $this->assert Equals( $old_root . '/test', $path1, 'The original stylesheet path is not correct' );1263 $this->assert Equals( $new_root . '/test', $path2, 'The new stylesheet path is not correct' );1262 $this->assertSame( $old_root . '/test', $path1, 'The original stylesheet path is not correct' ); 1263 $this->assertSame( $new_root . '/test', $path2, 'The new stylesheet path is not correct' ); 1264 1264 } 1265 1265 … … 1303 1303 switch_theme( $old_theme->get_stylesheet() ); 1304 1304 1305 $this->assert Equals( $old_root . '/test-parent', $path1, 'The original template path is not correct' );1306 $this->assert Equals( $new_root . '/test-parent', $path2, 'The new template path is not correct' );1305 $this->assertSame( $old_root . '/test-parent', $path1, 'The original template path is not correct' ); 1306 $this->assertSame( $new_root . '/test-parent', $path2, 'The new template path is not correct' ); 1307 1307 } 1308 1308 }
Note: See TracChangeset
for help on using the changeset viewer.