diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2021-01-05 04:04:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 04:04:24 +0300 |
commit | 27241f171961cfc8198d6356e5e579c3bf547aa5 (patch) | |
tree | 8b78a64a2dd85817f4ac86be4be14e39caddf1b5 /core | |
parent | da9c6159702a228c1d50b65b87dd416730c092b0 (diff) |
Add unit test for QueueConsumer::shouldSkipArchiveBecauseLowerPeriodOrSegmentIsInProgress(). (#16996)
* Add unit test for QueueConsumer::shouldSkipArchiveBecauseLowerPeriodOrSegmentIsInProgress().
* move tests to integration
Diffstat (limited to 'core')
-rw-r--r-- | core/CronArchive/QueueConsumer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/CronArchive/QueueConsumer.php b/core/CronArchive/QueueConsumer.php index fc58c5085b..10a2bcc1a8 100644 --- a/core/CronArchive/QueueConsumer.php +++ b/core/CronArchive/QueueConsumer.php @@ -386,7 +386,7 @@ class QueueConsumer return $loader->canSkipThisArchive(); // if no point in archiving, skip } - private function shouldSkipArchiveBecauseLowerPeriodOrSegmentIsInProgress(array $archiveToProcess) + public function shouldSkipArchiveBecauseLowerPeriodOrSegmentIsInProgress(array $archiveToProcess) { $inProgressArchives = $this->cliMultiRequestParser->getInProgressArchivingCommands(); |