File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/Umbraco.Tests.Integration/Umbraco.Web.BackOffice/Controllers Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ public async Task PostSave_Validates_Domains_Exist()
467
467
{
468
468
TestContext . Progress . Write ( $ "======SUPPORTED CULTURES IN TEXT SERVICE======{ culture . Name } ") ;
469
469
}
470
- var expectedMessage = localizedTextService . Localize ( "speechBubbles" , "publishWithNoDomains" , new [ ] { "en-US" } ) ;
470
+ var expectedMessage = localizedTextService . Localize ( "speechBubbles" , "publishWithNoDomains" ) ;
471
471
472
472
Assert . Multiple ( ( ) =>
473
473
{
@@ -476,7 +476,8 @@ public async Task PostSave_Validates_Domains_Exist()
476
476
Assert . AreEqual ( expectedMessage , display . Notifications . FirstOrDefault ( x => x . NotificationType == NotificationStyle . Warning ) ? . Message ) ;
477
477
} ) ;
478
478
}
479
-
479
+ [ assembly : NUnit. Framework . SetCulture ( "se-SE" ) ]
480
+ [ assembly : NUnit. Framework . SetUICulture ( "se-SE" ) ]
480
481
[ Test ]
481
482
public async Task PostSave_Validates_All_Cultures_Has_Domains ( )
482
483
{
@@ -530,7 +531,7 @@ public async Task PostSave_Validates_All_Cultures_Has_Domains()
530
531
531
532
532
533
ILocalizedTextService localizedTextService = GetRequiredService < ILocalizedTextService > ( ) ;
533
- var expectedMessage = localizedTextService . Localize ( "speechBubbles" , "publishWithMissingDomain" , new [ ] { "en-US" } ) ;
534
+ var expectedMessage = localizedTextService . Localize ( "speechBubbles" , "publishWithMissingDomain" ) ;
534
535
535
536
Assert . Multiple ( ( ) =>
536
537
{
You can’t perform that action at this time.
0 commit comments