Browse Source

Vault and VaultTest refactor

feature-vault
fdai6352 3 years ago
parent
commit
46bd7e3f1c
  1. 6
      src/main/java/Vault.java
  2. 8
      src/test/java/VaultTest.java

6
src/main/java/Vault.java

@ -30,12 +30,6 @@ public class Vault implements VaultInterface {
println(sbcm.toString()); println(sbcm.toString());
String input = scan.nextLine();
if (input.equals("e")) {
config = false;
}
} }
public void addCredential(){ public void addCredential(){

8
src/test/java/VaultTest.java

@ -11,12 +11,14 @@ import static org.junit.jupiter.api.Assertions.*;
public class VaultTest { public class VaultTest {
Vault vlt = new Vault();
//Vault vlt = new Vault();
/* @BeforeAll
static Vault vlt;
@BeforeAll
static void init() { static void init() {
vlt = new Vault(); vlt = new Vault();
}*/
}
@BeforeEach @BeforeEach
void reset() { void reset() {

Loading…
Cancel
Save