Skip to content

Commit 92e099d

Browse files
sauravzgkannanjgithub
authored andcommitted
Fixup: 12690 Use builder in unit tests
1 parent 9b62b31 commit 92e099d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 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();
7979

80-
return GrpcServiceConfig.newBuilder()
80+
return GrpcServiceConfig.builder()
8181
.googleGrpc(googleGrpc)
8282
.initialMetadata(ImmutableList.of())
8383
.build();

0 commit comments

Comments
 (0)