diff --git a/GoCardless.Tests/BlockServiceTests.cs b/GoCardless.Tests/BlockServiceTests.cs index bc440da..11b41a9 100644 --- a/GoCardless.Tests/BlockServiceTests.cs +++ b/GoCardless.Tests/BlockServiceTests.cs @@ -39,7 +39,7 @@ public async Task ShouldGetBlock() Assert.AreEqual(block.ReasonType, "no_intent_to_pay"); Assert.AreEqual(block.ResourceReference, "example@example.com"); Assert.AreEqual(block.Active, true); - Assert.AreEqual(block.CreatedAt.ToString(), "03/25/2021 17:26:28 +00:00"); + Assert.AreEqual(block.CreatedAt.Value.ToString("o"), "2021-03-25T17:26:28.3050000+00:00"); } [Test]