Skip to content

Commit 24056ce

Browse files
Resolves comments
1 parent f30a68e commit 24056ce

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

appcheck/firebase-appcheck-recaptchaenterprise/src/test/java/com/google/firebase/appcheck/recaptchaenterprise/FirebaseAppCheckRecaptchaEnterpriseRegistrarTest.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616

1717
import static com.google.common.truth.Truth.assertThat;
1818

19-
import android.content.Context;
2019
import com.google.firebase.components.Component;
21-
import com.google.firebase.components.Dependency;
2220
import java.util.List;
2321
import org.junit.Test;
2422
import org.junit.runner.RunWith;
@@ -33,10 +31,8 @@ public void testGetComponents() {
3331
new FirebaseAppCheckRecaptchaEnterpriseRegistrar();
3432
List<Component<?>> components = registrar.getComponents();
3533
assertThat(components).isNotEmpty();
36-
assertThat(components).hasSize(3);
37-
Component<?> applicationComponent = components.get(0);
38-
assertThat(applicationComponent.getDependencies())
39-
.containsExactly(Dependency.required(Context.class));
40-
assertThat(applicationComponent.isLazy()).isTrue();
34+
assertThat(components).hasSize(2);
35+
Component<?> firebaseExecutorsComponent = components.get(0);
36+
assertThat(firebaseExecutorsComponent.isLazy()).isTrue();
4137
}
4238
}

0 commit comments

Comments
 (0)