Skip to content

Commit

Permalink
Remove password tests as validation was removed for Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
jdubois committed May 15, 2017
1 parent 2470c48 commit 08c8b88
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,6 @@ public void setPasswordTest(){
// Contraints tests
vm = new LoginVM();
vm.setUsername("goodUsername");

assertFalse(validator.validate(vm).isEmpty());
vm.setPassword("");
assertFalse(validator.validate(vm).isEmpty());
vm.setPassword("badPasswordTooLongbadPasswordTooLongbadPasswordTooLongbadPasswordTooLongbadPasswordTooLong");
assertFalse(validator.validate(vm).isEmpty());
vm.setPassword("goodPassword");
assertTrue(validator.validate(vm).isEmpty());
}
Expand Down

0 comments on commit 08c8b88

Please sign in to comment.