mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-12 01:54:41 +08:00
Update dependencies
This commit is contained in:
@@ -55,13 +55,13 @@ class EditShortUrlTest extends ApiTestCase
|
||||
{
|
||||
$now = Chronos::now();
|
||||
|
||||
yield [['validSince' => $now->addMonth()->toAtomString()]];
|
||||
yield [['validUntil' => $now->subMonth()->toAtomString()]];
|
||||
yield [['validSince' => $now->addMonths(1)->toAtomString()]];
|
||||
yield [['validUntil' => $now->subMonths(1)->toAtomString()]];
|
||||
yield [['maxVisits' => 20]];
|
||||
yield [['validUntil' => $now->addYear()->toAtomString(), 'maxVisits' => 100]];
|
||||
yield [['validUntil' => $now->addYears(1)->toAtomString(), 'maxVisits' => 100]];
|
||||
yield [[
|
||||
'validSince' => $now->subYear()->toAtomString(),
|
||||
'validUntil' => $now->addYear()->toAtomString(),
|
||||
'validSince' => $now->subYears(1)->toAtomString(),
|
||||
'validUntil' => $now->addYears(1)->toAtomString(),
|
||||
'maxVisits' => 100,
|
||||
]];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user