Unverified Commit 0f1f53e1 authored by Kevin Rich's avatar Kevin Rich Committed by GitHub

Update ToDoItemMarkCompleteShould

Changed Assertion to Single
parent f2cb9398
......@@ -24,7 +24,7 @@ namespace CleanArchitecture.Tests.Core.Entities
item.MarkComplete();
Assert.Equal(1, item.Events.Count());
Assert.Single(item.Events);
Assert.IsType<ToDoItemCompletedEvent>(item.Events.First());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment