diff --git a/tests/System/Commands/MigrateTest.php b/tests/System/Commands/MigrateTest.php index 6d3ccf9..5a04eff 100644 --- a/tests/System/Commands/MigrateTest.php +++ b/tests/System/Commands/MigrateTest.php @@ -150,6 +150,8 @@ public function testApi($api, $params) if (in_array($api, [['Live.getLastVisitsDetails'], ['Actions.getPageUrls']]) && version_compare(Version::VERSION, '5.2.0-alpha', '<')) { $params['testSuffix'] = '5-2a'; + } elseif ($api === ['API.get'] && version_compare(Version::VERSION, '5.2.0-b6', '<')) { + $params['testSuffix'] = '5-2b6'; } $this->runApiTests($api, $params); @@ -169,6 +171,8 @@ public function testApi_migrated($api, $params) if (in_array($api, [['Live.getLastVisitsDetails'], ['Actions.getPageUrls']]) && version_compare(Version::VERSION, '5.2.0-alpha', '<')) { $params['testSuffix'] = '5-2a'; + } elseif ($api === ['API.get'] && version_compare(Version::VERSION, '5.2.0-b6', '<')) { + $params['testSuffix'] = '5-2b6'; } try { $this->runApiTests($api, $params); diff --git a/tests/System/expected/test_5-2b6__API.get_day.xml b/tests/System/expected/test_5-2b6__API.get_day.xml new file mode 100644 index 0000000..a60e2ba --- /dev/null +++ b/tests/System/expected/test_5-2b6__API.get_day.xml @@ -0,0 +1,89 @@ + + + 2 + 2 + 0 + 4 + 2 + 0 + 1265 + 2 + 4 + 2 + 0 + 2 + 0% + 2 + 633 + 0 + 0 + 0 + 0 + 0 + 0% + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 2 + 1 + 2546 + 50% + 2 + 1 + 2546 + 50% + 0 + 0 + 0 + 0% + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 1 + 1 + 100% + 0% + 0% + 0% + 0% + 0% + 2 + 633 + \ No newline at end of file diff --git a/tests/System/expected/test_5-2b6__API.get_year.xml b/tests/System/expected/test_5-2b6__API.get_year.xml new file mode 100644 index 0000000..51783aa --- /dev/null +++ b/tests/System/expected/test_5-2b6__API.get_year.xml @@ -0,0 +1,83 @@ + + + 2 + 4 + 2 + 0 + 1265 + 2 + 4 + 2 + 0% + 2 + 633 + 0 + 0 + 0 + 0% + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 2 + 1 + 2546 + 50% + 2 + 1 + 2546 + 50% + 0 + 0 + 0 + 0% + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 1 + 1 + 100% + 0% + 0% + 0% + 0% + 0% + 2 + 633 + \ No newline at end of file diff --git a/tests/System/expected/test___API.get_day.xml b/tests/System/expected/test___API.get_day.xml index a60e2ba..e924450 100644 --- a/tests/System/expected/test___API.get_day.xml +++ b/tests/System/expected/test___API.get_day.xml @@ -78,6 +78,7 @@ 0 1 1 + 4 100% 0% 0% diff --git a/tests/System/expected/test___API.get_year.xml b/tests/System/expected/test___API.get_year.xml index 51783aa..ec3d4f0 100644 --- a/tests/System/expected/test___API.get_year.xml +++ b/tests/System/expected/test___API.get_year.xml @@ -72,6 +72,7 @@ 0 1 1 + 4 100% 0% 0%