Skip to content

Commit

Permalink
fixing azfile live tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gunjansingh-msft committed Oct 14, 2024
1 parent e8859f9 commit 7fabfc1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sdk/storage/azfile/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "go",
"TagPrefix": "go/storage/azfile",
"Tag": "go/storage/azfile_c39fa345fe"
"Tag": "go/storage/azfile_5699f299d7"
}
2 changes: 1 addition & 1 deletion sdk/storage/azfile/directory/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2365,5 +2365,5 @@ func (d *DirectoryRecordedTestsSuite) TestDirectoryAudienceNegative() {

_, err = dirClientAudience.Create(context.Background(), nil)
_require.Error(err)
testcommon.ValidateFileErrorCode(_require, err, fileerror.AuthenticationFailed)
testcommon.ValidateFileErrorCode(_require, err, fileerror.InvalidAuthenticationInfo)
}
2 changes: 1 addition & 1 deletion sdk/storage/azfile/share/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1846,5 +1846,5 @@ func (s *ShareRecordedTestsSuite) TestShareClientAudienceNegative() {
// Create a permission and check that it's not empty.
_, err = shareClientAudience.CreatePermission(context.Background(), testcommon.SampleSDDL, nil)
_require.Error(err)
testcommon.ValidateFileErrorCode(_require, err, fileerror.AuthenticationFailed)
testcommon.ValidateFileErrorCode(_require, err, fileerror.InvalidAuthenticationInfo)
}

0 comments on commit 7fabfc1

Please sign in to comment.