Skip to content

Commit

Permalink
Fix Checkstyle in GetAccountActionTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mingyang143 committed Feb 3, 2025
1 parent 6f0f2d8 commit b495466
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
import teammates.common.util.Const;
import teammates.storage.sqlentity.Account;
import teammates.ui.output.AccountData;
import teammates.ui.webapi.EntityNotFoundException;
import teammates.ui.webapi.GetAccountAction;

/**
* SUT: {@link GetAccountAction}.
*/
public class GetAccountActionTest extends BaseActionTest<GetAccountAction> {
public class GetAccountActionTest extends BaseActionTest<GetAccountAction> {
String googleId = "test.googleId";

@Override
Expand Down Expand Up @@ -49,6 +50,7 @@ void testExecute_accountDoesNotExist_failSilently() {
String[] params = {
Const.ParamsNames.INSTRUCTOR_ID, googleId,
};
verifyEntityNotFound(params);
EntityNotFoundException e = verifyEntityNotFound(params);
assertEquals("Account does not exist.", e.getMessage());
}
}

0 comments on commit b495466

Please sign in to comment.