Browse Source

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

tags/2.2.0
JT Christopher F 5 years ago
parent
commit
3d39704c6c
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      test/Discord.Net.Tests.Unit/EmbedBuilderTests.cs

+ 1
- 2
test/Discord.Net.Tests.Unit/EmbedBuilderTests.cs View File

@@ -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)


Loading…
Cancel
Save