Skip to content

Commit ef3c4c2

Browse files
committed
remove GA4 tests
1 parent e202279 commit ef3c4c2

4 files changed

Lines changed: 0 additions & 234 deletions

File tree

tests/Keboola/GoogleAnalyticsExtractor/ApplicationTest.php

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -50,72 +50,6 @@ private function getConfig(string $suffix = ''): array
5050
return $config;
5151
}
5252

53-
public function testAppRunDailyWalk(): void
54-
{
55-
$this->config = $this->getConfig('_antisampling');
56-
$this->runProcess();
57-
58-
$dailyWalk = $this->getManifestFiles('dailyWalk');
59-
Assert::assertEquals(1, count($dailyWalk));
60-
61-
foreach ($dailyWalk as $file) {
62-
/** @var $file SplFileInfo */
63-
$this->assertManifestContainsColumns($file->getPathname(), [
64-
'id',
65-
'idProfile',
66-
'date',
67-
'sourceMedium',
68-
'landingPagePath',
69-
'pageviews',
70-
]);
71-
}
72-
}
73-
74-
public function testAppRunAdaptive(): void
75-
{
76-
$this->config = $this->getConfig('_antisampling_adaptive');
77-
$this->runProcess();
78-
79-
$adaptive = $this->getManifestFiles('adaptive');
80-
Assert::assertEquals(1, count($adaptive));
81-
82-
foreach ($adaptive as $file) {
83-
/** @var $file SplFileInfo */
84-
$this->assertManifestContainsColumns($file->getPathname(), [
85-
'id',
86-
'idProfile',
87-
'date',
88-
'sourceMedium',
89-
'landingPagePath',
90-
'pageviews',
91-
]);
92-
}
93-
}
94-
95-
public function testAppRunMCF(): void
96-
{
97-
$this->config = $this->getConfig('_mcf');
98-
$this->runProcess();
99-
100-
$funnelFiles = $this->getManifestFiles('funnel');
101-
Assert::assertEquals(1, count($funnelFiles));
102-
103-
foreach ($funnelFiles as $file) {
104-
/** @var $file SplFileInfo */
105-
$this->assertManifestContainsColumns($file->getPathname(), [
106-
'id',
107-
'idProfile',
108-
'mcf:conversionDate',
109-
'mcf:sourcePath',
110-
'mcf:mediumPath',
111-
'mcf:sourceMedium',
112-
'mcf:totalConversions',
113-
'mcf:totalConversionValue',
114-
'mcf:assistedConversions',
115-
]);
116-
}
117-
}
118-
11953
public function testAppProfilesProperties(): void
12054
{
12155
$this->config = $this->getConfig('_empty');

tests/data/config_antisampling.json

Lines changed: 0 additions & 52 deletions
This file was deleted.

tests/data/config_antisampling_adaptive.json

Lines changed: 0 additions & 53 deletions
This file was deleted.

tests/data/config_mcf.json

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)