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 21
21
import com .google .firebase .components .Component ;
22
22
import com .google .firebase .components .ComponentRegistrar ;
23
23
import com .google .firebase .components .Dependency ;
24
+ import com .google .firebase .heartbeatinfo .HeartBeatConsumerComponent ;
24
25
import com .google .firebase .heartbeatinfo .HeartBeatController ;
25
26
import com .google .firebase .platforminfo .LibraryVersionComponent ;
26
27
import java .util .Arrays ;
@@ -48,6 +49,7 @@ public List<Component<?>> getComponents() {
48
49
container .getProvider (HeartBeatController .class )))
49
50
.alwaysEager ()
50
51
.build (),
52
+ HeartBeatConsumerComponent .create (),
51
53
LibraryVersionComponent .create ("fire-app-check" , BuildConfig .VERSION_NAME ));
52
54
}
53
55
}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public void testGetComponents() {
34
34
FirebaseAppCheckRegistrar firebaseAppCheckRegistrar = new FirebaseAppCheckRegistrar ();
35
35
List <Component <?>> components = firebaseAppCheckRegistrar .getComponents ();
36
36
assertThat (components ).isNotEmpty ();
37
- assertThat (components ).hasSize (2 );
37
+ assertThat (components ).hasSize (3 );
38
38
Component <?> firebaseAppCheckComponent = components .get (0 );
39
39
assertThat (firebaseAppCheckComponent .getDependencies ())
40
40
.containsExactly (
You can’t perform that action at this time.
0 commit comments