Changeset 51415 for trunk/tests/phpunit/tests/compat.php
- Timestamp:
- 07/13/2021 10:43:42 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/compat.php
r48996 r51415 243 243 * 244 244 * @ticket 43583 245 * 246 * @requires extension intl 245 247 */ 246 248 function test_is_countable_ResourceBundle() { 247 if ( ! class_exists( 'ResourceBundle' ) ) {248 $this->markTestSkipped( 'The intl extension is not loaded. ResourceBundle not tested for is_countable().' );249 }250 251 249 $this->assertTrue( is_countable( new ResourceBundle( 'en', null ) ) ); 252 250 } … … 256 254 * 257 255 * @ticket 43583 256 * 257 * @requires extension simplexml 258 258 */ 259 259 function test_is_countable_SimpleXMLElement() { 260 if ( ! class_exists( 'SimpleXMLElement' ) ) {261 $this->markTestSkipped( 'The xml extension is not loaded. SimpleXMLElement not tested for is_countable().' );262 }263 264 260 $this->assertTrue( is_countable( new SimpleXMLElement( '<xml><tag>1</tag><tag>2</tag></xml>' ) ) ); 265 261 }
Note: See TracChangeset
for help on using the changeset viewer.