Skip to content

Commit 8dbb8a9

Browse files
committed
fix other tests
1 parent 4403b4f commit 8dbb8a9

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

tests/PHPUnit/Framework/TestRequest/Collection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class Collection
5353
'Referrers.getKeywordNotDefinedString',
5454
'CorePluginsAdmin.getSystemSettings',
5555
'API.getPagesComparisonsDisabledFor',
56+
'BotTracking',
5657
);
5758

5859
/**

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' => 60],
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' => 60],
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');

tests/PHPUnit/Integration/WidgetsListTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testGet()
5252
'Referrers_Referrers' => 11,
5353
'About Matomo' => 11,
5454
'Marketplace_Marketplace' => 3,
55-
'AIAgents_AIAssistants' => 2,
55+
'AIAgents_AIAssistants' => 3,
5656

5757
// widgets provided by Professional Services plugin for plugin promos
5858
'ProfessionalServices_PromoAbTesting' => 1,

0 commit comments

Comments
 (0)