Skip to content

Commit

Permalink
Fix tag controller tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaya committed Jan 8, 2025
1 parent 52ea0cf commit d902897
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d902897

Please sign in to comment.