MSP-3427 minor fixes in user.test

This commit is contained in:
Tim committed 2024-06-13 18:00:05 +03:00
1 parent 753af57524
commit 10e316049d
1 file changed
+1 -1
+1 -1
View File
@@ -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"}