diff --git a/tests/System/TasksTest.php b/tests/System/TasksTest.php index 0883a1f..f39c6e4 100644 --- a/tests/System/TasksTest.php +++ b/tests/System/TasksTest.php @@ -108,6 +108,17 @@ public function getApiForTesting() ]); } + if (version_compare(Version::VERSION, '5.7.0-b1', '<')) { + $xmlFieldsToRemove = array_merge($xmlFieldsToRemove, [ + 'BotTracking_AIAssistantsRequests', + 'BotTracking_AIAssistantsAcquiredVisits', + 'BotTracking_AIAssistantsNotFoundRequests', + 'BotTracking_AIAssistantsUniqueAssistants', + 'BotTracking_AIAssistantsServerErrorRequests', + 'BotTracking_AIAssistantsClickThroughRate', + ]); + } + $apiToTest = []; foreach ($apis as $api) { $apiToTest[] = [ diff --git a/tests/System/expected/test___API.get_year.xml b/tests/System/expected/test___API.get_year.xml index 3cf4e31..545627a 100644 --- a/tests/System/expected/test___API.get_year.xml +++ b/tests/System/expected/test___API.get_year.xml @@ -61,6 +61,11 @@ 0 0 0% + 0 + 0 + 0 + 0 + 0 1 1 0 @@ -90,4 +95,5 @@ 0% 39 1 + 0 \ No newline at end of file