mirror of
https://github.com/Biarity/Sieve.git
synced 2025-07-26 12:13:28 +02:00
Fixes #33
This commit is contained in:
@@ -224,6 +224,19 @@ namespace SieveUnitTests
|
||||
Assert.AreEqual(2, commentResult.Count());
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void CustomSortsWork()
|
||||
{
|
||||
var model = new SieveModel()
|
||||
{
|
||||
Sorts = "Popularity",
|
||||
};
|
||||
|
||||
var result = _processor.Apply(model, _posts);
|
||||
|
||||
Assert.IsFalse(result.First().Id == 0);
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void MethodNotFoundExceptionWork()
|
||||
{
|
||||
|
Reference in New Issue
Block a user