MSP-3427 minor fixes in user.test
This commit is contained in:
1 parent
753af57524
commit
10e316049d
1 file changed
+1
-1
+1
-1
@@ -353,7 +353,7 @@ func (s *UserTestSuite) TestChangePasswordUser() {
|
||||
Do(context.Background())
|
||||
s.Require().Error(err)
|
||||
err = apierrors.FromError(err)
|
||||
s.Require().Contains(err.Error(), domain.ErrCodeInvalidPassword)
|
||||
s.Require().Contains(err.Error(), strconv.Itoa(domain.ErrCodeInvalidPassword))
|
||||
|
||||
// change password
|
||||
changePswReq := domain.ChangePasswordRequest{OldPassword: "password", NewPassword: "new_password"}
|
||||
|
||||
Reference in new issue
Block a user