Skip to content

Commit

Permalink
Merge pull request #1312 from stripe/remi-fix-tests-folders
Browse files Browse the repository at this point in the history
Move tests to their own folder
  • Loading branch information
ob-stripe committed Oct 1, 2018
2 parents 977cef3 + a05aa13 commit 3b71dec
Show file tree
Hide file tree
Showing 48 changed files with 25 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
25 changes: 25 additions & 0 deletions src/StripeTests/Entities/Issuing/Disputes/DisputeTest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
namespace StripeTests.Issuing
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

using Newtonsoft.Json;
using Stripe;
using Stripe.Issuing;
using Xunit;

public class DisputeTest : BaseStripeTest
{
[Fact]
public void Deserialize()
{
string json = GetFixture("/v1/issuing/disputes/idp_123");
var dispute = Mapper<Stripe.Issuing.Dispute>.MapFromJson(json);
Assert.NotNull(dispute);
Assert.IsType<Stripe.Issuing.Dispute>(dispute);
Assert.NotNull(dispute.Id);
Assert.Equal("issuing.dispute", dispute.Object);
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3b71dec

Please sign in to comment.