-
Notifications
You must be signed in to change notification settings - Fork 528
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
Fix Part of #5001: Create Firebase Wrapper #5280
Fix Part of #5001: Create Firebase Wrapper #5280
Conversation
Ensure firestore logs show in dev event logs view. Removed redundant bindings.
…-android into create-firebase-wrapper
Ensure firestore logs show in dev event logs view. Removed redundant bindings.
…new FakeFirebaseWrapperImpl
@Singleton | ||
@Component( | ||
modules = [ | ||
TestModule::class, TestDispatcherModule::class, AuthenticationModule::class, | ||
TestModule::class, TestDispatcherModule::class, TestAuthenticationModule::class, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unable to get this test to pass since it requires AuthenticationModule::class
, which still requires the real firebase app to be initialized. I am experiencing difficulty providing a fake while still Binding the ProdImpl of the wrapper, to be tested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can't we bind the production implementations here for this test? Not clear to me what the specific issue is.
Hi @adhiamboperes, I'm going to mark this PR as stale because it hasn't had any updates for 7 days. If no further activity occurs within 7 days, it will be automatically closed so that others can take up the issue. |
Closing as commits have been squashed into #5098 |
Explanation
Fixes Part of #5001
Creates a wrapper for FirebaseAuth that can be swapped out in tests.
Refactors dagger modules related to authentication.
Removes unused interfaces.
Updates tests.
Essential Checklist
For UI-specific PRs only
If your PR includes UI-related changes, then: