Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance 2024 #56

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AutoFixture" Version="4.18.1" />
<PackageReference Include="AutoFixture.Xunit2" Version="4.18.1" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="xunit" Version="2.7.1" />
<PackageReference Include="AutoFixture" Version="4.18.0" />
<PackageReference Include="AutoFixture.Xunit2" Version="4.18.0" />
<PackageReference Include="FluentAssertions" Version="6.1.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" />
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
Expand Down
10 changes: 5 additions & 5 deletions DocuSign.MyHR/DocuSign.MyHR.UnitTests/EnvelopeServiceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ public void CreateEnvelope_WhenDocumentTypeI9AndLoginTypeJWT_RequestedEnvelopeTe
UserDetails additionalUser)
{
//Arrange
_userService.Setup(x => x.GetUserDetails(_accountId, _userId, LoginType.JWT)).Returns(userInformation);
_accountsApi.Setup(x => x.GetAccountIdentityVerification(_accountId, null)).Returns(() =>
_userService.Setup(x => x.GetUserDetails(_accountId, _userId, _loginType)).Returns(userInformation);
_accountsApi.Setup(x => x.GetAccountIdentityVerification(_accountId, new AccountsApi.GetAccountIdentityVerificationOptions())).Returns(() =>
new AccountIdentityVerificationResponse
{
IdentityVerification = new List<AccountIdentityVerificationWorkflow>
Expand Down Expand Up @@ -150,7 +150,7 @@ public void CreateEnvelope_WhenDocumentTypeI9AndLoginTypeCodeGrant_RequestedEnve
{
//Arrange
_userService.Setup(x => x.GetUserDetails(_accountId, _userId, _loginType)).Returns(userInformation);
_accountsApi.Setup(x => x.GetAccountIdentityVerification(_accountId, null)).Returns(() =>
_accountsApi.Setup(x => x.GetAccountIdentityVerification(_accountId, new AccountsApi.GetAccountIdentityVerificationOptions())).Returns(() =>
new AccountIdentityVerificationResponse
{
IdentityVerification = new List<AccountIdentityVerificationWorkflow>
Expand Down Expand Up @@ -179,8 +179,8 @@ public void CreateEnvelope_WhenDocumentTypeI9AndLoginTypeJWTButIdvForAccountNotE
UserDetails additionalUser)
{
//Arrange
_userService.Setup(x => x.GetUserDetails(_accountId, _userId, LoginType.JWT)).Returns(userInformation);
_accountsApi.Setup(x => x.GetAccountIdentityVerification(_accountId, null))
_userService.Setup(x => x.GetUserDetails(_accountId, _userId, _loginType)).Returns(userInformation);
_accountsApi.Setup(x => x.GetAccountIdentityVerification(_accountId, new AccountsApi.GetAccountIdentityVerificationOptions()))
.Returns(() =>
new AccountIdentityVerificationResponse
{
Expand Down
Loading