Issue #3371840 by mondrake, Spokje: Time::getRequestTime is not immutable when there is no request
Showing
- core/lib/Drupal/Component/Datetime/Time.php 45 additions, 10 deletionscore/lib/Drupal/Component/Datetime/Time.php
- core/tests/Drupal/Tests/Component/Datetime/TimeTest.php 3 additions, 1 deletioncore/tests/Drupal/Tests/Component/Datetime/TimeTest.php
- core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php 59 additions, 0 deletions...Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php
Please register or sign in to comment