Use test data count when comparing returned count
This commit is contained in:
parent
55a60b27cb
commit
727ab856f6
@ -35,7 +35,7 @@ public class VenueControllerTests
|
||||
var resultValue = ControllerTestHelper.ActionResultToOkResultValue<IEnumerable<Venue>>(result);
|
||||
|
||||
Assert.NotNull(resultValue);
|
||||
Assert.AreEqual(1, resultValue.Count());
|
||||
Assert.AreEqual(TestData.VenueTestData.Count(), resultValue.Count());
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Loading…
Reference in New Issue
Block a user