From cc2b9ebad319edca05bf0beb5bd459d0503ed0fb Mon Sep 17 00:00:00 2001 From: "Khan Mohammad R." Date: Fri, 24 Nov 2023 10:10:52 +0100 Subject: [PATCH] Error message updated in the corrsponding tests for the changes --- .../EmailNotificationOrderRequestValidatorTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Altinn.Notifications.Tests/Notifications/TestingValidators/EmailNotificationOrderRequestValidatorTests.cs b/test/Altinn.Notifications.Tests/Notifications/TestingValidators/EmailNotificationOrderRequestValidatorTests.cs index 9d5928bdd..1bda7b876 100644 --- a/test/Altinn.Notifications.Tests/Notifications/TestingValidators/EmailNotificationOrderRequestValidatorTests.cs +++ b/test/Altinn.Notifications.Tests/Notifications/TestingValidators/EmailNotificationOrderRequestValidatorTests.cs @@ -112,7 +112,7 @@ public void Validate_SendTimeHasNoZone_ReturnsFalse() var actual = _validator.Validate(order); Assert.False(actual.IsValid); - Assert.Contains(actual.Errors, a => a.ErrorMessage.Equals("No time zone specified.")); + Assert.Contains(actual.Errors, a => a.ErrorMessage.Equals("The requested send time value must have specified a time zone.")); } [Fact]