From fb5429ff5dbac09a39ee19f67dcaea5d1de8734d Mon Sep 17 00:00:00 2001 From: CONGRANLI <907112284@qq.com> Date: Fri, 6 Sep 2019 09:42:44 +1000 Subject: [PATCH] correct the password error in boundary test --- tests/Boundary/swen90006/passbook/BoundaryTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Boundary/swen90006/passbook/BoundaryTests.java b/tests/Boundary/swen90006/passbook/BoundaryTests.java index cb4a3bd..2ea85b9 100644 --- a/tests/Boundary/swen90006/passbook/BoundaryTests.java +++ b/tests/Boundary/swen90006/passbook/BoundaryTests.java @@ -25,7 +25,7 @@ public class BoundaryTests @Test(expected = WeakPassphraseException.class) public void addUserEC2Offpoint1Test()throws DuplicateUserException, WeakPassphraseException { - pb.addUser("Sam12345", " Sam1234"); + pb.addUser("Sam12345", "sam1234"); } @Test(expected = WeakPassphraseException.class) public void addUserEC2Offpoint2Test()throws DuplicateUserException, WeakPassphraseException @@ -109,7 +109,7 @@ public class BoundaryTests @Test(expected = WeakPassphraseException.class) public void addUserEC9Offpoint1Test()throws DuplicateUserException, WeakPassphraseException { - pb.addUser("Sam123", "aaa123!AAAA"); + pb.addUser("Sam123", "aaa!AAAA"); } @Test(expected = WeakPassphraseException.class) public void addUserEC9Offpoint2Test()throws DuplicateUserException, WeakPassphraseException -- GitLab