This repository was archived by the owner on Jul 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
appcheck/firebase-appcheck/src
main/java/com/google/firebase/appcheck
test/java/com/google/firebase/appcheck Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 2121import com .google .firebase .components .Component ;
2222import com .google .firebase .components .ComponentRegistrar ;
2323import com .google .firebase .components .Dependency ;
24+ import com .google .firebase .heartbeatinfo .HeartBeatConsumerComponent ;
2425import com .google .firebase .heartbeatinfo .HeartBeatController ;
2526import com .google .firebase .platforminfo .LibraryVersionComponent ;
2627import java .util .Arrays ;
@@ -48,6 +49,7 @@ public List<Component<?>> getComponents() {
4849 container .getProvider (HeartBeatController .class )))
4950 .alwaysEager ()
5051 .build (),
52+ HeartBeatConsumerComponent .create (),
5153 LibraryVersionComponent .create ("fire-app-check" , BuildConfig .VERSION_NAME ));
5254 }
5355}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public void testGetComponents() {
3434 FirebaseAppCheckRegistrar firebaseAppCheckRegistrar = new FirebaseAppCheckRegistrar ();
3535 List <Component <?>> components = firebaseAppCheckRegistrar .getComponents ();
3636 assertThat (components ).isNotEmpty ();
37- assertThat (components ).hasSize (2 );
37+ assertThat (components ).hasSize (3 );
3838 Component <?> firebaseAppCheckComponent = components .get (0 );
3939 assertThat (firebaseAppCheckComponent .getDependencies ())
4040 .containsExactly (
You can’t perform that action at this time.
0 commit comments