Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove FakeCacheService and TestCacheModule #2238

Closed
wants to merge 2 commits into from
Closed

Conversation

iamacook
Copy link
Member

@iamacook iamacook commented Jan 6, 2025

Summary

Resolves #1960

We mock our (Redis-based) cache service throughout our tests, despite Redis being a requirement.

This removes our FakeCacheService and TestCacheModule which builds on top of it, updating the tests accordingly.

Changes

tbd

@iamacook iamacook self-assigned this Jan 6, 2025
@iamacook
Copy link
Member Author

iamacook commented Jan 8, 2025

I'm going to close this, with the intention to use it as a reference in the future. This implementation relies on the same Redis instance across tests, making proper sanitisation challenging, with no straightforward approach to achieve it. Additionally, there are complications with Redis client/service instantiation when using faked timers.

@iamacook iamacook closed this Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Tech Debt] Remove FakeCacheService
1 participant