From 9d255f29f5d909a33e84c0edaade6c4bb7ff852a Mon Sep 17 00:00:00 2001 From: fdai6352 Date: Fri, 18 Feb 2022 01:28:01 +0100 Subject: [PATCH] debug testcommit --- src/test/java/VaultTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/VaultTest.java b/src/test/java/VaultTest.java index 73b20ab..9dbc3dd 100644 --- a/src/test/java/VaultTest.java +++ b/src/test/java/VaultTest.java @@ -24,7 +24,7 @@ public class VaultTest { @BeforeEach void reset() { vlt.outputS = System.out; - vlt.inputS = System.in; + vlt.inputS = getEmptyStringInputStream(); } @Test @@ -94,9 +94,9 @@ public class VaultTest { assertEquals("peter", vlt.userName); assertTrue(outputStream.toString().contains("password")); assertEquals("password",vlt.password); - }*/ + } - /*@Test + @Test void showCredentialTest() { vlt.inputS = new ByteArrayInputStream("l\n1".getBytes(StandardCharsets.UTF_8)); vlt.credentialMenu();