Fixed email test
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
using LiteCharms.Features.Models;
|
using LiteCharms.Features.Models;
|
||||||
using LiteCharms.Features.Shop.Notifications;
|
using LiteCharms.Features.Shop.Notifications;
|
||||||
using LiteCharms.Features.Shop.Notifications.Events;
|
using LiteCharms.Features.Shop.Notifications.Events;
|
||||||
|
using static LiteCharms.Features.Extensions.Email;
|
||||||
|
|
||||||
namespace LiteCharms.Features.Tests;
|
namespace LiteCharms.Features.Tests;
|
||||||
|
|
||||||
@@ -20,8 +21,8 @@ public class NotificationsFeatureTests(CommonFixture fixture, ITestOutputHelper
|
|||||||
Priority = Shop.Priorities.Medium,
|
Priority = Shop.Priorities.Medium,
|
||||||
Sender = "xUnit Test",
|
Sender = "xUnit Test",
|
||||||
SenderAddress = "khwezi@mngoma.africa",
|
SenderAddress = "khwezi@mngoma.africa",
|
||||||
Recipient = $"{Email.Extensions.Constants.ShopEmailFromName} [Test]",
|
Recipient = $"{ShopEmailFromName} [Test]",
|
||||||
RecipientAddress = Email.Extensions.Constants.ShopEmailFromAddress,
|
RecipientAddress = ShopEmailFromAddress,
|
||||||
Subject = "Test Message",
|
Subject = "Test Message",
|
||||||
Message = "This is an automation test",
|
Message = "This is an automation test",
|
||||||
IsHtml = false,
|
IsHtml = false,
|
||||||
|
|||||||
Reference in New Issue
Block a user