Unit tests for #51

This commit is contained in:
Biarity
2019-01-18 20:45:38 +10:00
parent 6413f70385
commit 574538e7da
3 changed files with 45 additions and 1 deletions

View File

@@ -22,6 +22,12 @@ namespace SieveUnitTests.Services
.CanFilter()
.HasName("shortname");
mapper.Property<Post>(p => p.TopComment.Text)
.CanFilter();
mapper.Property<Post>(p => p.TopComment.Id)
.CanSort();
mapper.Property<Post>(p => p.OnlySortableViaFluentApi)
.CanSort();