Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Codutti <[email protected]>
  • Loading branch information
Coduz committed Aug 1, 2022
1 parent 7cfd025 commit e04728b
Show file tree
Hide file tree
Showing 2 changed files with 266 additions and 266 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public User update(User user) throws KapuaException {
ArgumentValidator.notNull(user.getScopeId(), "user.scopeId");
ArgumentValidator.notEmptyOrNull(user.getName(), "user.name");
ArgumentValidator.match(user.getName(), CommonsValidationRegex.NAME_REGEXP, "user.name");
ArgumentValidator.lengthRange(user.getExternalId(), 3, 255, "user.name");
ArgumentValidator.lengthRange(user.getName(), 3, 255, "user.name");
ArgumentValidator.match(user.getEmail(), CommonsValidationRegex.EMAIL_REGEXP, "user.email");
ArgumentValidator.notNull(user.getStatus(), "user.status");
ArgumentValidator.notNull(user.getUserType(), "user.userType");
Expand Down
Loading

0 comments on commit e04728b

Please sign in to comment.