Skip to content

Commit

Permalink
fix test: TestListCollection_RestoreInPlace_skip
Browse files Browse the repository at this point in the history
  • Loading branch information
HiteshRepo committed Jan 23, 2024
1 parent fe3834c commit e9bb20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/m365/collection/site/restore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func (suite *SharePointRestoreSuite) TestListCollection_RestoreInPlace_skip() {
cl,
fault.New(true))
require.Error(t, err, clues.ToCore(err))
assert.True(t, errors.Is(core.ErrAlreadyExists, err))
assert.Equal(t, core.ErrAlreadyExists.Error(), err.Error())
assert.Empty(t, deets)
assert.Less(t, int64(0), cl.Get(count.CollisionSkip))
}
Expand Down

0 comments on commit e9bb20e

Please sign in to comment.