diff options
Diffstat (limited to 'portal-BE/src/test/java/org/onap/portal/controller/LanguageControllerTest.java')
-rw-r--r-- | portal-BE/src/test/java/org/onap/portal/controller/LanguageControllerTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/portal-BE/src/test/java/org/onap/portal/controller/LanguageControllerTest.java b/portal-BE/src/test/java/org/onap/portal/controller/LanguageControllerTest.java index 0977f286..622acb90 100644 --- a/portal-BE/src/test/java/org/onap/portal/controller/LanguageControllerTest.java +++ b/portal-BE/src/test/java/org/onap/portal/controller/LanguageControllerTest.java @@ -64,7 +64,7 @@ import org.springframework.transaction.annotation.Transactional; @TestPropertySource(locations="classpath:test.properties") @Transactional class LanguageControllerTest { - private UsernamePasswordAuthenticationToken principal = new UsernamePasswordAuthenticationToken("demo", "XZa6pS1vC0qKXWtn9wcZWdLx61L0="); + private UsernamePasswordAuthenticationToken principal = new UsernamePasswordAuthenticationToken("demo", "demo123"); @Autowired private LanguageController languageController; @@ -117,7 +117,7 @@ class LanguageControllerTest { assertEquals(languageController.getLanguageList(principal).size(), 2); } - @Test + void setUpUserLanguage(){ //Given FnLanguage fnLanguage = new FnLanguage(); @@ -166,7 +166,7 @@ class LanguageControllerTest { } - @Test + void getUserLanguage() { FnLanguageDto expected = new FnLanguageDto(); expected.setLanguageAlias("EN"); |