Skip to content

Commit

Permalink
fixing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
asketagarwal committed Jun 24, 2021
1 parent 4c2e8b7 commit e4faea5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ private Mock<CosmosClientContext> MockClientContext()
.Returns<string, RequestOptions, Func<ITrace, Task<object>>, TraceComponent, TraceLevel>(
(operationName, requestOptions, func, comp, level) => func(NoOpTrace.Singleton));

mockContext.Setup(x => x.Client).Returns(MockCosmosUtil.CreateMockCosmosClient());

return mockContext;
}

Expand Down

0 comments on commit e4faea5

Please sign in to comment.