protected static function LicenseCronExpiryTest::tomorrow in Commerce License 8.2
Returns the time a day from now.
Return value
int Tomorrow's time.
2 calls to LicenseCronExpiryTest::tomorrow()
- LicenseCronExpiryTest::testGetLicenseIdsToExpireTomorrow in tests/
src/ Kernel/ LicenseCronExpiryTest.php - License hasn't expired.
- LicenseCronExpiryTest::testLicenseCronExpiryCurrent in tests/
src/ Kernel/ LicenseCronExpiryTest.php - Tests that a cron run won't expire a current license.
File
- tests/
src/ Kernel/ LicenseCronExpiryTest.php, line 95
Class
- LicenseCronExpiryTest
- Tests that cron expires a license.
Namespace
Drupal\Tests\commerce_license\Kernel\SystemCode
protected static function tomorrow() {
return self::today() + self::TIME_ONE_DAY;
}