mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 09:31:51 +01:00
BaseType::isCorrectType() method > make static
This commit is contained in:
@@ -649,13 +649,9 @@ class DateTest extends BaseTestCase
|
||||
self::assertTrue($randomDate >= $intervalMinDate && $randomDate <= $intervalMaxDate);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $period Empty value, e.g. ""
|
||||
* @dataProvider provideEmptyScalarValue
|
||||
*/
|
||||
public function testGetDatesForPeriodUsingEmptyPeriod($period): void
|
||||
public function testGetDatesForPeriodUsingEmptyString(): void
|
||||
{
|
||||
self::assertNull(Date::getDatesForPeriod($period));
|
||||
self::assertNull(Date::getDatesForPeriod(''));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user