From 51b6276ee96d25ed088cf1ddea896b715666a55c Mon Sep 17 00:00:00 2001 From: James Harris Date: Mon, 22 Jul 2024 09:07:22 +1000 Subject: [PATCH] Fix references to `NewLogger()`. --- internal/cluster/registry_test.go | 2 +- internal/eventstream/append_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/cluster/registry_test.go b/internal/cluster/registry_test.go index 5c30ae0e..66462776 100644 --- a/internal/cluster/registry_test.go +++ b/internal/cluster/registry_test.go @@ -36,7 +36,7 @@ func TestRegistry(t *testing.T) { Keyspaces: keyspaces, Node: deps.Node, RenewInterval: 10 * time.Millisecond, - Logger: spruce.NewLogger(t), + Logger: spruce.NewTestLogger(t), } deps.MembershipChanged = make(chan MembershipChanged) diff --git a/internal/eventstream/append_test.go b/internal/eventstream/append_test.go index 4a791440..da677e01 100644 --- a/internal/eventstream/append_test.go +++ b/internal/eventstream/append_test.go @@ -33,7 +33,7 @@ func TestAppend(t *testing.T) { deps.Supervisor = &Supervisor{ Journals: deps.Journals, - Logger: spruce.NewLogger(t), + Logger: spruce.NewTestLogger(t), } deps.Packer = &envelope.Packer{