From 4fff78111a4006db2f1217bf1e8498f1e8bbdea9 Mon Sep 17 00:00:00 2001 From: alvarocabanas Date: Tue, 16 Jan 2024 16:53:11 +0100 Subject: [PATCH] Correct Mock for register client test --- pkg/backend/identityapi/register_client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/backend/identityapi/register_client_test.go b/pkg/backend/identityapi/register_client_test.go index d97df9271..b352cb94b 100644 --- a/pkg/backend/identityapi/register_client_test.go +++ b/pkg/backend/identityapi/register_client_test.go @@ -218,7 +218,7 @@ func TestRegisterClient_RegisterEntity(t *testing.T) { } mc.On("RegisterPost", - mock.AnythingOfType("*context.emptyCtx"), + mock.AnythingOfType("context.backgroundCtx"), "ExpectedUserAgent", "ExpectedXLicenseKey", expectedRegisterRequest,