- 🇮🇳India bhanu951
Updated title as we created another issue for Replacing REQUEST_TIME in Functional/FunctionalJavascript tests
- last update
over 1 year ago Custom Commands Failed - 🇮🇳India bhanu951
Uploaded current changes to 10.0.x as patch before rebasing to 11.x branch.
@alexpott made below comment on MR #2753
I think we should use \Drupal::time()->getRequestTime() and be done... it's better than another property on the test class.
So we might need to replace all usages of
$this->requestTime
with\Drupal::time()->getRequestTime()
- last update
over 1 year ago Custom Commands Failed - Open on Drupal.org →Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - Status changed to Needs review
about 1 year ago 6:22pm 7 November 2023 - 🇧🇷Brazil viniciusrp
The patch #50 has error to be applied, I recreated based to version 10.0.x.
- last update
about 1 year ago Custom Commands Failed - last update
about 1 year ago Custom Commands Failed - last update
about 1 year ago Custom Commands Failed - last update
about 1 year ago Custom Commands Failed - last update
about 1 year ago Custom Commands Failed - last update
about 1 year ago Custom Commands Failed - last update
about 1 year ago Custom Commands Failed - Status changed to Postponed
about 1 year ago 8:24pm 7 November 2023 - 🇺🇸United States smustgrave
Patch was moved to an MR. Repostponing on 📌 Replace REQUEST_TIME in Functional and FunctionalJavascript tests Needs work
- Status changed to Needs work
9 months ago 11:15pm 13 February 2024 - 🇦🇺Australia acbramley
There's still a huge number of changes to non Kernel/Unit test files here. All functional/functionaljs tests are being updated in 📌 Replace REQUEST_TIME in Functional and FunctionalJavascript tests Needs work
- Status changed to Needs review
9 months ago 12:34am 14 February 2024 - 🇦🇺Australia acbramley
Peeled this back to just Kernel tests and removed the class members entirely. Used variables for $requestTime where appropriate. Pipeline is green :)
No need for a CR now since we're not adding any class members.
- 🇺🇸United States smustgrave
Could issue summary and title be updated too please
- Status changed to Needs work
9 months ago 3:11pm 14 February 2024 - 🇺🇸United States smustgrave
modules/dblog/tests/src/Kernel/DbLogTest.php
modules/views/tests/src/Kernel/RenderCacheIntegrationTest.phpFound 2 more.
- Status changed to Needs review
9 months ago 9:16pm 14 February 2024 - 🇦🇺Australia acbramley
Those 2 come from traits which we're not fixing here (FakeLogEntries and AssertViewsCacheTagsTrait)
If you search the test files you'll see that there are no references to REQUEST_TIME. The traits are fixed in the functional test one I believe.
- Status changed to RTBC
9 months ago 9:20pm 14 February 2024 - Status changed to Needs review
9 months ago 12:01pm 15 February 2024 - Status changed to Fixed
9 months ago 12:38pm 15 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.