From e0c0f5f7a2875d939c1a64f146795bc9f379f5bd Mon Sep 17 00:00:00 2001 From: Tayyab Fayyaz Janjua Date: Fri, 22 Nov 2024 16:19:53 +0100 Subject: [PATCH] fix codeQL --- .../Service/OfferSubscriptionServiceTests.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/marketplace/Offers.Library.Tests/Service/OfferSubscriptionServiceTests.cs b/tests/marketplace/Offers.Library.Tests/Service/OfferSubscriptionServiceTests.cs index 9b3e88a694..8f8e798c72 100644 --- a/tests/marketplace/Offers.Library.Tests/Service/OfferSubscriptionServiceTests.cs +++ b/tests/marketplace/Offers.Library.Tests/Service/OfferSubscriptionServiceTests.cs @@ -495,12 +495,6 @@ public async Task RemoveOfferSubscription_ReturnsExpected(OfferTypeId offerTypeI .Returns(offerSubscriptionDetails); A.CallTo(() => _offerSubscriptionsRepository.DeleteOfferSubscription(A._, A._, A._, A._, A._)) .Returns(subscription); - var mailParameters = new[] - { - ("offerName", offerSubscriptionDetails.OfferName!), - ("url", BasePortalUrl), - ("requesterName", string.Format("{0} {1}", offerSubscriptionDetails.RequesterFirstname, offerSubscriptionDetails.RequesterLastname)) - }; // Act await _sut.RemoveOfferSubscriptionAsync(_validSubscriptionId, offerTypeId, BasePortalUrl);