Changeset 51331 for trunk/tests/phpunit/tests/l10n.php
- Timestamp:
- 07/05/2021 05:21:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/l10n.php
r48939 r51331 57 57 function test_get_available_languages() { 58 58 $array = get_available_languages(); 59 $this->assertI nternalType( 'array',$array );59 $this->assertIsArray( $array ); 60 60 61 61 $array = get_available_languages( '.' ); … … 71 71 function test_wp_get_installed_translations_for_core() { 72 72 $installed_translations = wp_get_installed_translations( 'core' ); 73 $this->assertI nternalType( 'array',$installed_translations );73 $this->assertIsArray( $installed_translations ); 74 74 $textdomains_expected = array( 'admin', 'admin-network', 'continents-cities', 'default' ); 75 75 $this->assertSameSets( $textdomains_expected, array_keys( $installed_translations ) );
Note: See TracChangeset
for help on using the changeset viewer.