epfl-SDP / android

A repository for the CS-306 Software Development Project class at EPFL.
MIT License
13 stars 2 forks source link

Fix `FakeDataStoreFactory` #418

Closed alexandrepiveteau closed 2 years ago

alexandrepiveteau commented 2 years ago

Due to the factory being an object, a single instance was reused across all the tests. This leads to cross-test interactions, which may make some valid tests fail.

codeclimate[bot] commented 2 years ago

Code Climate has analyzed commit 736b8868 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (80% is the threshold).

This pull request will bring the total coverage in the repository to 96.7% (0.0% change).

View more on Code Climate.