From 87627303afafa467f1992be220affad09a4083b3 Mon Sep 17 00:00:00 2001 From: Quinn Klassen Date: Sat, 11 May 2024 13:22:22 -0700 Subject: [PATCH] Fix unit tests --- internal/grpc_dialer_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/grpc_dialer_test.go b/internal/grpc_dialer_test.go index 81952284a..daf47a29e 100644 --- a/internal/grpc_dialer_test.go +++ b/internal/grpc_dialer_test.go @@ -129,13 +129,13 @@ func TestHeadersProvider_Error(t *testing.T) { func TestHeadersProvider_NotIncludedWhenNil(t *testing.T) { interceptors := requiredInterceptors(nil, nil, nil, nil, nil) - require.Equal(t, 5, len(interceptors)) + require.Equal(t, 6, len(interceptors)) } func TestHeadersProvider_IncludedWithHeadersProvider(t *testing.T) { interceptors := requiredInterceptors(nil, authHeadersProvider{token: "test-auth-token"}, nil, nil, nil) - require.Equal(t, 6, len(interceptors)) + require.Equal(t, 7, len(interceptors)) } func TestMissingGetServerInfo(t *testing.T) {