diff --git a/sdk/messaging/azservicebus/internal/namespace_test.go b/sdk/messaging/azservicebus/internal/namespace_test.go index 67fb453a4c35..15c43d59598a 100644 --- a/sdk/messaging/azservicebus/internal/namespace_test.go +++ b/sdk/messaging/azservicebus/internal/namespace_test.go @@ -97,7 +97,7 @@ func (r *fakeRetrier) CurrentTry() int { } type fakeTokenCredential struct { - azcore.Credential + azcore.TokenCredential expires time.Time }