Add it to admin console language options and fix test

This commit is contained in:
Stian Thorgersen 2015-04-17 13:06:07 +02:00
parent c071601660
commit d52a365766
3 changed files with 3 additions and 3 deletions

View file

@ -395,7 +395,7 @@ module.controller('RealmThemeCtrl', function($scope, Current, Realm, realm, serv
$scope.supportedLocalesOptions = {
'multiple' : true,
'simple_tags' : true,
'tags' : ['en', 'de', 'pt-BR']
'tags' : ['en', 'de', 'pt-BR', 'it']
};
$scope.$watch('realm.supportedLocales', function(oldVal, newVal) {

View file

@ -77,7 +77,7 @@ public class AccountPageTest {
accountUpdateProfilePage.openLanguage("German");
Assert.assertEquals("Deutsch", accountUpdateProfilePage.getLanguageDropdownText());
accountUpdateProfilePage.openLanguage("Englisch");
accountUpdateProfilePage.openLanguage("English");
Assert.assertEquals("English", accountUpdateProfilePage.getLanguageDropdownText());
accountUpdateProfilePage.logout();
}

View file

@ -75,7 +75,7 @@ public class LoginPageTest {
loginPage.openLanguage("German");
Assert.assertEquals("Deutsch", loginPage.getLanguageDropdownText());
loginPage.openLanguage("Englisch");
loginPage.openLanguage("English");
Assert.assertEquals("English", loginPage.getLanguageDropdownText());
}