Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix some tests by using Application context, rather than activity (RG2)
A lot of the test-fixes hinge on switching from injecting 'Context' (which is taken to mean Activity or Service) to injecting Application - which is a context that is always available, and doesn't require your classes to be ContextScoped.
- Loading branch information
Showing
3 changed files
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters