From 60c8dc8b33f80940013dbcdae11fe1a50dcbcf2d Mon Sep 17 00:00:00 2001 From: Brandon Minnick <13558917+brminnick@users.noreply.github.com> Date: Fri, 22 Jan 2021 12:44:05 -0800 Subject: [PATCH] Update BackgroundFetchServiceTests.cs --- .../Tests/Services/BackgroundFetchServiceTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/GitTrends.UnitTests/Tests/Services/BackgroundFetchServiceTests.cs b/GitTrends.UnitTests/Tests/Services/BackgroundFetchServiceTests.cs index 8517bf9b6..687c05d4c 100644 --- a/GitTrends.UnitTests/Tests/Services/BackgroundFetchServiceTests.cs +++ b/GitTrends.UnitTests/Tests/Services/BackgroundFetchServiceTests.cs @@ -71,6 +71,7 @@ public async Task CleanUpDatabaseTest() Assert.AreEqual(unexpiredRepository_Initial.DailyViewsList.Sum(x => x.TotalViews), unexpiredRepository_Final.DailyViewsList.Sum(x => x.TotalViews)); Assert.AreEqual(unexpiredRepository_Initial.DailyViewsList.Sum(x => x.TotalUniqueViews), unexpiredRepository_Final.DailyViewsList.Sum(x => x.TotalUniqueViews)); + Assert.AreEqual(2, repositoryDatabaseCount_Final); Assert.AreEqual(1, referringSitesDatabaseCount_Final); Assert.IsTrue(unexpiredRepository_Initial.IsFavorite);