Skip to content

Commit 73c01aa

Browse files
Fix unit tests previously failed.
1 parent 76dd7c7 commit 73c01aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Core.Tests/AppRegistrationSecretManagerTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public async Task CheckAsync()
7272
m.HtmlContent.Should().Be("The content");
7373
m.From.DisplayName.Should().BeEmpty();
7474
m.From.Email.Should().Be(EmailAddress.Parse("sender@domain.com"));
75-
m.Subject.Should().Be("Reminder: App Registration secrets expiring soon - [15/06/2025]");
75+
m.Subject.Should().Be($"Reminder: App Registration secrets expiring soon - [{new DateTime(2025, 6, 15):d}]");
7676
m.To.DisplayName.Should().BeEmpty();
7777
})
7878
.Returns(Task.CompletedTask);
@@ -82,7 +82,7 @@ public async Task CheckAsync()
8282
m.HtmlContent.Should().Be("The content");
8383
m.From.DisplayName.Should().BeEmpty();
8484
m.From.Email.Should().Be(EmailAddress.Parse("sender@domain.com"));
85-
m.Subject.Should().Be("Reminder: App Registration secrets expiring soon - [15/06/2025]");
85+
m.Subject.Should().Be($"Reminder: App Registration secrets expiring soon - [{new DateTime(2025, 6, 15):d}]");
8686
m.To.DisplayName.Should().BeEmpty();
8787
})
8888
.Returns(Task.CompletedTask);

0 commit comments

Comments
 (0)