|
@ -46,7 +46,8 @@ class PasswordManagerTest { |
|
|
pm.inputStream = new ByteArrayInputStream("l\n".getBytes(StandardCharsets.UTF_8)); |
|
|
pm.inputStream = new ByteArrayInputStream("l\n".getBytes(StandardCharsets.UTF_8)); |
|
|
pm.outputStream = outputStream; |
|
|
pm.outputStream = outputStream; |
|
|
pm.showMenu(); |
|
|
pm.showMenu(); |
|
|
assertTrue(outputStream.toString().endsWith("Vaults:\n")); |
|
|
|
|
|
|
|
|
pm.createNewVault(); |
|
|
|
|
|
assertTrue(outputStream.toString().contains("Vaults:\n- vault id: 0\n")); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Test |
|
|
@Test |
|
|