From 9511a03db3add8e2cf597d4b973a396b2a2d8ec3 Mon Sep 17 00:00:00 2001 From: Robot Date: Tue, 30 Nov 2021 12:11:23 +0000 Subject: [PATCH] Changes generated by 65da17767ac5933fb1ccd4c1bded781cb33b98cb --- GoCardless.Tests/BlockServiceTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]