Changeset 51331 for trunk/tests/phpunit/tests/functions/listFiles.php
- Timestamp:
- 07/05/2021 05:21:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/listFiles.php
r49006 r51331 11 11 public function test_list_files_returns_a_list_of_files() { 12 12 $admin_files = list_files( ABSPATH . 'wp-admin/' ); 13 $this->assertI nternalType( 'array',$admin_files );13 $this->assertIsArray( $admin_files ); 14 14 $this->assertNotEmpty( $admin_files ); 15 15 $this->assertContains( ABSPATH . 'wp-admin/index.php', $admin_files );
Note: See TracChangeset
for help on using the changeset viewer.