From 424c1c6f8c0f64f00d051d978a8985f9e13e9628 Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Sat, 23 May 2026 11:52:47 +0200 Subject: [PATCH 1/2] Fixed email test --- LiteCharms.Features.Tests/NotificationsFeatureTests.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/LiteCharms.Features.Tests/NotificationsFeatureTests.cs b/LiteCharms.Features.Tests/NotificationsFeatureTests.cs index 05b9f9f..2b500e8 100644 --- a/LiteCharms.Features.Tests/NotificationsFeatureTests.cs +++ b/LiteCharms.Features.Tests/NotificationsFeatureTests.cs @@ -1,6 +1,7 @@ using LiteCharms.Features.Models; using LiteCharms.Features.Shop.Notifications; using LiteCharms.Features.Shop.Notifications.Events; +using static LiteCharms.Features.Extensions.Email; namespace LiteCharms.Features.Tests; @@ -20,8 +21,8 @@ public class NotificationsFeatureTests(CommonFixture fixture, ITestOutputHelper Priority = Shop.Priorities.Medium, Sender = "xUnit Test", SenderAddress = "khwezi@mngoma.africa", - Recipient = $"{Email.Extensions.Constants.ShopEmailFromName} [Test]", - RecipientAddress = Email.Extensions.Constants.ShopEmailFromAddress, + Recipient = $"{ShopEmailFromName} [Test]", + RecipientAddress = ShopEmailFromAddress, Subject = "Test Message", Message = "This is an automation test", IsHtml = false, From 032b9e18189c72c36cea86c22bda1c79eb3277f0 Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Sat, 23 May 2026 11:54:32 +0200 Subject: [PATCH 2/2] Updated nuget packages --- LiteCharms.Features.Tests/LiteCharms.Features.Tests.csproj | 2 +- LiteCharms.Features/LiteCharms.Features.csproj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LiteCharms.Features.Tests/LiteCharms.Features.Tests.csproj b/LiteCharms.Features.Tests/LiteCharms.Features.Tests.csproj index 55f1b2e..6f93280 100644 --- a/LiteCharms.Features.Tests/LiteCharms.Features.Tests.csproj +++ b/LiteCharms.Features.Tests/LiteCharms.Features.Tests.csproj @@ -9,7 +9,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/LiteCharms.Features/LiteCharms.Features.csproj b/LiteCharms.Features/LiteCharms.Features.csproj index ab20ae2..99f18de 100644 --- a/LiteCharms.Features/LiteCharms.Features.csproj +++ b/LiteCharms.Features/LiteCharms.Features.csproj @@ -131,8 +131,8 @@ - - + +