Move last legacy API tests & adapt phpunit.xml

This commit is contained in:
Philipp
2022-01-22 21:24:03 +01:00
parent 732663ea6b
commit fbefb599dc
7 changed files with 173 additions and 304 deletions

View File

@@ -77,4 +77,14 @@ class DateTimeFormatTest extends MockedTest
self::assertEquals($assert, $dtFormat->isYearMonth($input));
}
/**
* Test the api_date() function.
*
* @return void
*/
public function testApiDate()
{
self::assertEquals('Wed Oct 10 00:00:00 +0000 1990', DateTimeFormat::utc('1990-10-10', DateTimeFormat::API));
}
}