From d4eda68f160f5ed1c6f31720d09f799e88e4e35d Mon Sep 17 00:00:00 2001 From: Iman Tumorang Date: Sun, 11 Aug 2024 18:59:05 +0300 Subject: [PATCH] chore: fix test --- internal/consumer/rabbitmq/blackbox_consumer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/consumer/rabbitmq/blackbox_consumer_test.go b/internal/consumer/rabbitmq/blackbox_consumer_test.go index 815cec0..a169ff3 100644 --- a/internal/consumer/rabbitmq/blackbox_consumer_test.go +++ b/internal/consumer/rabbitmq/blackbox_consumer_test.go @@ -273,7 +273,7 @@ func handlerRequeue(t *testing.T) interfaces.InboundMessageHandlerFunc { return m.RetryCount } - err = m.PutToBackOfQueueWithDelay(ctx, delayFn) + err = m.RetryWithDelayFn(ctx, delayFn) assert.NoError(t, err) return }