Support PHP 5.5.9+

This commit is contained in:
Meritoo
2017-10-31 20:28:55 +01:00
parent a1c26b3812
commit 325fe6b141
6 changed files with 21 additions and 16 deletions

View File

@@ -223,7 +223,7 @@ class DateTest extends BaseTestCase
*/
public function testGetDayOfWeekIncorrectValues($year, $month, $day)
{
$this->expectException(UnknownDatePartTypeException::class);
$this->setExpectedException(UnknownDatePartTypeException::class);
self::assertEmpty(Date::getDayOfWeek($year, $month, $day));
}