Skip to content

Commit 62c5c6f

Browse files
committed
Corrected tests for login and signup use case
1 parent 3c2d159 commit 62c5c6f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/test/java/loginAndSignUpUseCase/userLoginInteractorTest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,9 @@ public UserLoginResponseModel prepareFailView(String error) {
4646
UserLoginInputBoundary interactor = new UserLoginInteractor(
4747
gateway, presenter);
4848

49-
// 2) Input data — Normally created by the Controller.
5049
UserLoginRequestModel inputData = new UserLoginRequestModel(
5150
"John", "Rockefeller123");
5251

53-
// 3) Run the use case
5452
interactor.login(inputData);
5553
}
5654

@@ -76,11 +74,9 @@ public UserLoginResponseModel prepareFailView(String error) {
7674
UserLoginInputBoundary interactor = new UserLoginInteractor(
7775
gateway, presenter);
7876

79-
// 2) Input data — Normally created by the Controller.
8077
UserLoginRequestModel inputData = new UserLoginRequestModel(
8178
"Walt", "Disney123");
8279

83-
// 3) Run the use case
8480
interactor.login(inputData);
8581
}
8682
}

0 commit comments

Comments
 (0)