Browse Source

debug testcommit

feature-credential
fdai6352 3 years ago
parent
commit
9d255f29f5
  1. 6
      src/test/java/VaultTest.java

6
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();

Loading…
Cancel
Save