test: fix coercion error with DateTime/Offset (#1388)
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Discord
|
namespace Discord
|
||||||
@@ -250,7 +249,7 @@ namespace Discord
|
|||||||
.WithFooter("This is the footer", url)
|
.WithFooter("This is the footer", url)
|
||||||
.WithImageUrl(url)
|
.WithImageUrl(url)
|
||||||
.WithThumbnailUrl(url)
|
.WithThumbnailUrl(url)
|
||||||
.WithTimestamp(DateTime.MinValue)
|
.WithTimestamp(DateTimeOffset.MinValue)
|
||||||
.WithTitle("This is the title")
|
.WithTitle("This is the title")
|
||||||
.WithUrl(url)
|
.WithUrl(url)
|
||||||
.AddField("Field 1", "Inline", true)
|
.AddField("Field 1", "Inline", true)
|
||||||
|
|||||||
Reference in New Issue
Block a user