Skip to content

Commit 885281f

Browse files
committed
Added Assembly attributes
1 parent 6e540de commit 885281f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ public async Task PostSave_Validates_Domains_Exist()
467467
{
468468
TestContext.Progress.Write($"======SUPPORTED CULTURES IN TEXT SERVICE======{culture.Name}");
469469
}
470-
var expectedMessage = localizedTextService.Localize("speechBubbles", "publishWithNoDomains", new []{"en-US"});
470+
var expectedMessage = localizedTextService.Localize("speechBubbles", "publishWithNoDomains");
471471

472472
Assert.Multiple(() =>
473473
{
@@ -476,7 +476,8 @@ public async Task PostSave_Validates_Domains_Exist()
476476
Assert.AreEqual(expectedMessage, display.Notifications.FirstOrDefault(x => x.NotificationType == NotificationStyle.Warning)?.Message);
477477
});
478478
}
479-
479+
[assembly: NUnit.Framework.SetCulture("se-SE")]
480+
[assembly: NUnit.Framework.SetUICulture("se-SE")]
480481
[Test]
481482
public async Task PostSave_Validates_All_Cultures_Has_Domains()
482483
{
@@ -530,7 +531,7 @@ public async Task PostSave_Validates_All_Cultures_Has_Domains()
530531

531532

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

535536
Assert.Multiple(() =>
536537
{

0 commit comments

Comments
 (0)