From 7986d33f0595b70d32c3ef6a75a2425316ea7a39 Mon Sep 17 00:00:00 2001 From: sgiehl Date: Tue, 16 Dec 2025 14:53:11 +0100 Subject: [PATCH 1/2] updates expected test files --- tests/System/expected/test___API.get_year.xml | 6 ++++++ 1 file changed, 6 insertions(+) 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 From 204f2f5506c2424ac83ea2d541f0b8e6707ab71b Mon Sep 17 00:00:00 2001 From: sgiehl Date: Wed, 17 Dec 2025 10:24:04 +0100 Subject: [PATCH 2/2] fix tests --- tests/System/TasksTest.php | 11 +++++++++++ 1 file changed, 11 insertions(+) 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[] = [