Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Error in EditionAppService_Test #6547


User avatar
0
FlexSolution created

Hi,

I am using the german version of Visual Studio and get the following error. You have an error message which is always expected in english. But I always get a german message. That's why the test fails.


3 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Visual Studio language should not affect application language.

    Did you change the default application language? If so, you should update the test in your project.

  • User Avatar
    0
    FlexSolution created

    I changed the language over the UI but I reset it and it's still the same error. I also took a completely new project, didn't change anything and it's still the same bug. It's no problem for me to change the message I just wanted to let you know.

  • User Avatar
    0
    maliming created
    Support Team

    Modify the AppTestBase constructor according to the following code and then take a unit test to see.

    protected AppTestBase()
    {
        CultureInfo.CurrentCulture = new CultureInfo("en");
        CultureInfo.CurrentUICulture = new CultureInfo("en");
    
        SeedTestData();
        LoginAsDefaultTenantAdmin();
    }