Browse Source

fixed some tests after merge

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

6
src/test/java/VaultTest.java

@ -197,7 +197,7 @@ public class VaultTest {
vlt.setCapital("no"); vlt.setCapital("no");
assertFalse(vlt.haveCapitals = false); assertFalse(vlt.haveCapitals = false);
assertTrue(outputStream.toString().contains("don't"));
assertTrue(outputStream.toString().contains("anymore"));
} }
@Test @Test
@ -221,7 +221,7 @@ public class VaultTest {
vlt.setSpecialChar("no"); vlt.setSpecialChar("no");
assertFalse(vlt.hasSpecialChars = false); assertFalse(vlt.hasSpecialChars = false);
assertTrue(outputStream.toString().contains("don't"));
assertTrue(outputStream.toString().contains("anymore"));
} }
@Test @Test
@ -246,7 +246,7 @@ public class VaultTest {
vlt.setNumbers("no"); vlt.setNumbers("no");
assertFalse(vlt.hasNumbers = false); assertFalse(vlt.hasNumbers = false);
assertTrue(outputStream.toString().contains("don't"));
assertTrue(outputStream.toString().contains("anymore"));
} }
private ByteArrayInputStream getEmptyStringInputStream() { private ByteArrayInputStream getEmptyStringInputStream() {

Loading…
Cancel
Save