Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authordiosmosis <diosmosis@users.noreply.github.com>2021-01-05 04:04:24 +0300
committerGitHub <noreply@github.com>2021-01-05 04:04:24 +0300
commit27241f171961cfc8198d6356e5e579c3bf547aa5 (patch)
tree8b78a64a2dd85817f4ac86be4be14e39caddf1b5 /core
parentda9c6159702a228c1d50b65b87dd416730c092b0 (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.php2
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();