From 727ab856f6a1d118af789f38aab8e60946ea7cbd Mon Sep 17 00:00:00 2001 From: Stedoss <29103029+Stedoss@users.noreply.github.com> Date: Sun, 30 Oct 2022 17:36:38 +0000 Subject: [PATCH] Use test data count when comparing returned count --- .../Controllers/VenueControllerTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/LeedsBeerQuest.API/LeedsBeerQuest.API.Tests/Controllers/VenueControllerTests.cs b/backend/LeedsBeerQuest.API/LeedsBeerQuest.API.Tests/Controllers/VenueControllerTests.cs index e3d5c32..31039b2 100644 --- a/backend/LeedsBeerQuest.API/LeedsBeerQuest.API.Tests/Controllers/VenueControllerTests.cs +++ b/backend/LeedsBeerQuest.API/LeedsBeerQuest.API.Tests/Controllers/VenueControllerTests.cs @@ -35,7 +35,7 @@ public class VenueControllerTests var resultValue = ControllerTestHelper.ActionResultToOkResultValue>(result); Assert.NotNull(resultValue); - Assert.AreEqual(1, resultValue.Count()); + Assert.AreEqual(TestData.VenueTestData.Count(), resultValue.Count()); } [Test]