1
0
Fork 0

Move last legacy API tests & adapt phpunit.xml

This commit is contained in:
Philipp Holzer 2022-01-22 21:24:03 +01:00
commit fbefb599dc
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
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));
}
}