Skip to content
Snippets Groups Projects

Issue #3130107: Extend unit test coverage for LanguageNegotiationContentEntity

Open Stefanos Petrakis requested to merge issue/drupal-3130107:3130107-add-unit-test into 10.1.x
2 files
+ 17
15
Compare changes
  • Side-by-side
  • Inline
Files
2
  • 677550f0
    Issue #1875020 by longwave, David_Rothstein, slip, alexpott, catch,... · 677550f0
    catch authored
    Issue #1875020 by longwave, David_Rothstein, slip, alexpott, catch, smustgrave, jhodgdon: Cron queue gets processed every time cron is called, regardless of whether it's already being processed elsewhere
@@ -134,6 +134,10 @@ public function run() {
}
else {
$this->invokeCronHandlers();
// Process cron queues.
$this->processQueues();
$this->setCronLastTime();
// Release cron lock.
@@ -143,9 +147,6 @@ public function run() {
$return = TRUE;
}
// Process cron queues.
$this->processQueues();
// Restore the user.
$this->accountSwitcher->switchBack();
Loading