Changeset 48993 for trunk/tests/phpunit/tests/locale.php
- Timestamp:
- 09/18/2020 10:56:27 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/locale.php
r48937 r48993 26 26 } 27 27 28 /**29 * @expectedException PHPUnit_Framework_Error_Notice30 */31 28 public function test_get_weekday_undefined_index() { 29 if ( PHP_VERSION_ID >= 80000 ) { 30 $this->expectException( 'PHPUnit_Framework_Error_Warning' ); 31 } else { 32 $this->expectException( 'PHPUnit_Framework_Error_Notice' ); 33 } 34 32 35 $this->locale->get_weekday( 7 ); 33 36 }
Note: See TracChangeset
for help on using the changeset viewer.