diff --git a/tests/TestCase.php b/tests/TestCase.php index 03c9ada27fe..6c12228e894 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -135,6 +135,10 @@ protected function setUp(): void // change config setting because we need more than 1 for the tests. config_set('osu.oauth.max_user_clients', 100); + // Disable caching for the BeatmapTagsController and TagsController tests. + config_set('osu.tags.beatmap_tags_cache_duration', 0); + config_set('osu.tags.tags_cache_duration', 0); + // Force connections to reset even if transactional tests were not used. // Should fix tests going wonky when different queue drivers are used, or anything that // breaks assumptions of object destructor timing.