test: fix coercion error with DateTime/Offset (#1388)

This commit is contained in:
JT
2019-10-02 03:48:35 +08:00
committed by Christopher F
parent fd3810e9fe
commit 3d39704c6c

View File

@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Discord
@@ -250,7 +249,7 @@ namespace Discord
.WithFooter("This is the footer", url)
.WithImageUrl(url)
.WithThumbnailUrl(url)
.WithTimestamp(DateTime.MinValue)
.WithTimestamp(DateTimeOffset.MinValue)
.WithTitle("This is the title")
.WithUrl(url)
.AddField("Field 1", "Inline", true)