Skip to content

Commit

Permalink
Updated tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
svenrog committed Aug 14, 2023
1 parent 638ffba commit 0a94d09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public void PropertyLinkData_handles_null()

subject.Link = CreateLinkData("", "http://localhost/1");

Assert.True(subject.IsNull);
Assert.False(subject.IsNull);

subject.ParseToSelf(null);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ public void NewtonsoftLinkDataConverter_can_Write()
ThumbnailModified = new DateTime(2000, 1, 1),
ThumbnailWidth = 256,
ThumbnailHeight = 256,
ThumbnailAspect = 1,
ThumbnailTolerance = 1,
ThumbnailCaption = "test"
};

Expand Down Expand Up @@ -257,6 +259,8 @@ public void SystemTextLinkDataConverter_can_Write()
ThumbnailModified = new DateTime(2000, 1, 1),
ThumbnailWidth = 256,
ThumbnailHeight = 256,
ThumbnailAspect = 1,
ThumbnailTolerance = 1,
ThumbnailCaption = "test"
};

Expand Down

0 comments on commit 0a94d09

Please sign in to comment.