Skip to content

Commit

Permalink
Update apps/managedidentity/managedidentity_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Charles Lowell <10964656+chlowell@users.noreply.github.com>
  • Loading branch information
4gust and chlowell authored Oct 21, 2024
1 parent fd132a5 commit b0c2403
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/managedidentity/managedidentity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ func Test_SystemAssigned_Returns_Token_Success(t *testing.T) {
localUrl = r.URL
}))
// resetting cache
before := cacheManager
defer func() { cacheManager = before }()
cacheManager = storage.New(nil)
client, err := New(testCase.miType, WithHTTPClient(&mockClient))
if err != nil {
Expand Down

0 comments on commit b0c2403

Please sign in to comment.