Skip to content

Commit

Permalink
Some more minor test corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
snake14 committed Aug 12, 2024
1 parent 5184892 commit 196bc98
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 1,126 deletions.
2 changes: 1 addition & 1 deletion tests/System/Commands/MigrateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function testApi_migrated($api, $params)

FakeAccess::clearAccess($superUser = true);

if (['Live.getLastVisitsDetails'] === $api && version_compare(Version::VERSION, '5.2.0-alpha', '<')) {
if (in_array($api, [['Live.getLastVisitsDetails'], ['Actions.getPageUrls']]) && version_compare(Version::VERSION, '5.2.0-alpha', '<')) {
$params['testSuffix'] = '5-2a';
}
try {
Expand Down
89 changes: 0 additions & 89 deletions tests/System/expected/test_Old__API.get_day.xml

This file was deleted.

83 changes: 0 additions & 83 deletions tests/System/expected/test_Old__API.get_year.xml

This file was deleted.

72 changes: 0 additions & 72 deletions tests/System/expected/test_Old__Actions.getPageUrls_day.xml

This file was deleted.

72 changes: 0 additions & 72 deletions tests/System/expected/test_Old__Actions.getPageUrls_year.xml

This file was deleted.

This file was deleted.

Loading

0 comments on commit 196bc98

Please sign in to comment.