Skip to content

Commit

Permalink
Fix unit test error
Browse files Browse the repository at this point in the history
  • Loading branch information
norshtein committed Feb 13, 2020
1 parent a396703 commit 50561a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/azure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ func TestAzureGetAccessToken(t *testing.T) {
if err != nil {
t.Fatalf("expected to construct a token successfully, but got error %v", err)
}
_, err := token.MarshalJSON()
_, err = token.MarshalJSON()
if err == nil ||
!strings.Contains(err.Error(), "marshalling ServicePrincipalMSISecret is not supported") {
t.Fatalf("expected to fail to marshal token, but got %v", err)
Expand Down

0 comments on commit 50561a2

Please sign in to comment.