From 44a4456e00cb5cd7b198c586b887fe9ab90c4ea8 Mon Sep 17 00:00:00 2001 From: Daniel F Date: Tue, 11 Jul 2023 21:30:56 +0100 Subject: [PATCH] Fixed NormalItemUpdateService tests --- go/services/normal_item_update_service_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/services/normal_item_update_service_test.go b/go/services/normal_item_update_service_test.go index eff435e3..a8d4cb52 100644 --- a/go/services/normal_item_update_service_test.go +++ b/go/services/normal_item_update_service_test.go @@ -43,10 +43,10 @@ func TestNormalItemUpdateService_QualityAfterSellIn4Days(t *testing.T) { // Quality must not be lower than 0 func TestNormalItemUpdateService_QualityNotLowerThan0(t *testing.T) { runTestCase(t, func( - agedBrieItemUpdateService AgedBrieItemUpdateService, + normalItemUpdateService NormalItemUpdateService, ) { item := models.NewItem(&models.ItemModel{"Random normal item", -4, 0}) - agedBrieItemUpdateService.UpdateQuality(item) + normalItemUpdateService.UpdateQuality(item) assert.Equal(t, item.Model.Quality, 0) }) }