diff --git a/internal/twirptest/client_test.go b/internal/twirptest/client_test.go index 50eb6143..cc03d9f3 100644 --- a/internal/twirptest/client_test.go +++ b/internal/twirptest/client_test.go @@ -267,7 +267,7 @@ func TestClientWithHooks(t *testing.T) { requestPreparedCalled = true return ctx, nil }, - RequestFinished: func(ctx context.Context) { + ResponseReceived: func(ctx context.Context) { responseReceivedCalled = true }, Error: func(ctx context.Context, err twirp.Error) {