Changeset 51335 for trunk/tests/phpunit/tests/theme.php
- Timestamp:
- 07/06/2021 12:25:53 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme.php
r49220 r51335 146 146 147 147 // Template files should all exist. 148 $this->assert True( is_array( $theme['Template Files'] ));149 $this->assert True( count( $theme['Template Files'] ) > 0);148 $this->assertIsArray( $theme['Template Files'] ); 149 $this->assertNotEmpty( $theme['Template Files'] ); 150 150 foreach ( $theme['Template Files'] as $file ) { 151 151 $this->assertTrue( is_file( $dir . $file ) ); … … 154 154 155 155 // CSS files should all exist. 156 $this->assert True( is_array( $theme['Stylesheet Files'] ));157 $this->assert True( count( $theme['Stylesheet Files'] ) > 0);156 $this->assertIsArray( $theme['Stylesheet Files'] ); 157 $this->assertNotEmpty( $theme['Stylesheet Files'] ); 158 158 foreach ( $theme['Stylesheet Files'] as $file ) { 159 159 $this->assertTrue( is_file( $dir . $file ) );
Note: See TracChangeset
for help on using the changeset viewer.