Skip to content

Commit d184f82

Browse files
committed
Added removed language array back
1 parent d992a6e commit d184f82

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Umbraco.Tests.Integration/Umbraco.Web.BackOffice/Controllers/ContentControllerTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,6 @@ public async Task PostSave_Validates_Domains_Exist()
476476
Assert.AreEqual(expectedMessage, display.Notifications.FirstOrDefault(x => x.NotificationType == NotificationStyle.Warning)?.Message);
477477
});
478478
}
479-
[assembly: NUnit.Framework.SetCulture("se-SE")]
480-
[assembly: NUnit.Framework.SetUICulture("se-SE")]
481479
[Test]
482480
public async Task PostSave_Validates_All_Cultures_Has_Domains()
483481
{
@@ -531,7 +529,7 @@ public async Task PostSave_Validates_All_Cultures_Has_Domains()
531529

532530

533531
ILocalizedTextService localizedTextService = GetRequiredService<ILocalizedTextService>();
534-
var expectedMessage = localizedTextService.Localize("speechBubbles", "publishWithMissingDomain");
532+
var expectedMessage = localizedTextService.Localize("speechBubbles", "publishWithMissingDomain", new []{"en-US"});
535533

536534
Assert.Multiple(() =>
537535
{

0 commit comments

Comments
 (0)