Skip to content

Commit

Permalink
Correct Mock for register client test
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarocabanas committed Jan 16, 2024
1 parent ac8e252 commit 4fff781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backend/identityapi/register_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func TestRegisterClient_RegisterEntity(t *testing.T) {
}

mc.On("RegisterPost",
mock.AnythingOfType("*context.emptyCtx"),
mock.AnythingOfType("context.backgroundCtx"),
"ExpectedUserAgent",
"ExpectedXLicenseKey",
expectedRegisterRequest,
Expand Down

0 comments on commit 4fff781

Please sign in to comment.