Replaced usage of deprecated methods in DateRange class

This commit is contained in:
Alejandro Celaya
2022-08-04 11:27:33 +02:00
parent ba517eeeb5
commit 7acf27dd38
8 changed files with 53 additions and 51 deletions

View File

@@ -53,7 +53,7 @@ class ShortUrlVisitsActionTest extends TestCase
{
$shortCode = 'abc123';
$this->visitsHelper->visitsForShortUrl(ShortUrlIdentifier::fromShortCodeAndDomain($shortCode), new VisitsParams(
DateRange::withEndDate(Chronos::parse('2016-01-01 00:00:00')),
DateRange::until(Chronos::parse('2016-01-01 00:00:00')),
3,
10,
), Argument::type(ApiKey::class))