Skip to content

Commit

Permalink
Update Newtonsoft.Json version range (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
armando-rodriguez-cko authored Nov 14, 2023
1 parent 4664f46 commit a35c2df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/CheckoutSdk/CheckoutSdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<ItemGroup Label="Global Package References">
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Newtonsoft.Json" Version="[9.0.1,13.0.1]" />
<PackageReference Include="Newtonsoft.Json" Version="[9.0.1,13.0.3]" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -517,9 +517,12 @@ private async Task ShouldMakePayPalPayment()
SuccessUrl = "https://testing.checkout.com/sucess",
FailureUrl = "https://testing.checkout.com/failure"
};

await CheckErrorItem(async () => await DefaultApi.PaymentsClient().RequestPayment(request),
PayeeNotOnboarded);

var response = await DefaultApi.PaymentsClient().RequestPayment(request);

response.Id.ShouldNotBeNull();
response.Status.ShouldBe(PaymentStatus.Pending);
response.Reference.ShouldNotBeNull();
}

[Fact]
Expand Down

0 comments on commit a35c2df

Please sign in to comment.