Skip to content

Commit 75f7130

Browse files
committed
Fixup: 12690 Use builder in unit tests
1 parent 869bdd4 commit 75f7130

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xds/src/test/java/io/grpc/xds/internal/grpcservice/CachedChannelManagerTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ public void setUp() {
6868
private GrpcServiceConfig buildConfig(String target, String credsType) {
6969
ChannelCredsConfig credsConfig = mock(ChannelCredsConfig.class);
7070
when(credsConfig.type()).thenReturn(credsType);
71-
71+
7272
ConfiguredChannelCredentials creds = ConfiguredChannelCredentials.create(
7373
mock(io.grpc.ChannelCredentials.class), credsConfig);
74-
74+
7575
GoogleGrpcConfig googleGrpc = GoogleGrpcConfig.builder()
7676
.target(target)
7777
.configuredChannelCredentials(creds)
7878
.build();
79-
80-
return GrpcServiceConfig.newBuilder()
79+
80+
return GrpcServiceConfig.builder()
8181
.googleGrpc(googleGrpc)
8282
.initialMetadata(ImmutableList.of())
8383
.build();

0 commit comments

Comments
 (0)