Skip to content

Commit 2751efe

Browse files
committed
fix tests
1 parent e6cf4d8 commit 2751efe

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

plugins/Diagnostics/tests/Integration/Commands/AnalyzeArchiveTableTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ public function testCommandOutputIsAsExpected()
4343
| Group | # Archives | # Invalidated | # Temporary | # Error | # Segment | # Numeric Rows | # Blob Rows | # Blob Data |
4444
+-------------------------------------------+------------+---------------+-------------+---------+-----------+----------------+-------------+-------------+
4545
| day[2010-03-06 - 2010-03-06] idSite = 1 | 9 | 0 | 0 | 0 | 8 | 122 | 81 | %d |
46-
| week[2010-03-01 - 2010-03-07] idSite = 1 | 9 | 0 | 0 | 0 | 8 | 164 | 103 | %d |
47-
| month[2010-03-01 - 2010-03-31] idSite = 1 | 9 | 0 | 0 | 0 | 8 | 164 | 103 | %d |
46+
| week[2010-03-01 - 2010-03-07] idSite = 1 | 9 | 0 | 0 | 0 | 8 | 164 | 101 | %d |
47+
| month[2010-03-01 - 2010-03-31] idSite = 1 | 9 | 0 | 0 | 0 | 8 | 164 | 101 | %d |
4848
+-------------------------------------------+------------+---------------+-------------+---------+-----------+----------------+-------------+-------------+
4949
5050
Total # Archives: 27

tests/PHPUnit/Integration/Archive/PartialArchiveTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function testRangeArchivingOnlyArchivesSingleRecordWhenQueryingNumerics()
6363
// check archive is all plugins archive as expected
6464
[$idArchives, $archiveInfo] = $this->getArchiveInfo('2020_04', Range::PERIOD_ID, false);
6565
$this->assertEquals([
66-
['idsite' => 1, 'date1' => '2020-04-06', 'date2' => '2020-04-09', 'period' => Range::PERIOD_ID, 'name' => 'done', 'value' => ArchiveWriter::DONE_OK, 'blob_count' => 64],
66+
['idsite' => 1, 'date1' => '2020-04-06', 'date2' => '2020-04-09', 'period' => Range::PERIOD_ID, 'name' => 'done', 'value' => ArchiveWriter::DONE_OK, 'blob_count' => 62],
6767
], $archiveInfo);
6868

6969
$maxIdArchive = $this->getMaxIdArchive('2020_04');
@@ -124,7 +124,7 @@ public function testRangeArchivingOnlyArchivesSingleRecordWhenQueryingBlobs()
124124
// check archive is all plugins archive as expected
125125
[$idArchives, $archiveInfo] = $this->getArchiveInfo('2020_04', Range::PERIOD_ID, false);
126126
$this->assertEquals([
127-
['idsite' => 1, 'date1' => '2020-04-06', 'date2' => '2020-04-09', 'period' => Range::PERIOD_ID, 'name' => 'done', 'value' => ArchiveWriter::DONE_OK, 'blob_count' => 64],
127+
['idsite' => 1, 'date1' => '2020-04-06', 'date2' => '2020-04-09', 'period' => Range::PERIOD_ID, 'name' => 'done', 'value' => ArchiveWriter::DONE_OK, 'blob_count' => 62],
128128
], $archiveInfo);
129129

130130
$maxIdArchive = $this->getMaxIdArchive('2020_04');

0 commit comments

Comments
 (0)