ita-social-projects / ita-social-projects/StreetCode

[DR] [API] [Registration Page] [LastName] The system allows you to set a 'Прізвище' with numbers

Open
#2,425 0 comments 0 reactions 2 assignees Claimed by @YaroslavRosnovskyi View on GitHub
(Epic#6) User Profile API bug Pri: high Sev: critical
Dominant language
C#
Stars
27
Forks
14
PR merge metrics
No merged PRs in 30d

Description

**Environment:** macOS Sequoia 15.3

**Preconditions:**
1. Postman is open
2. The POST method was created
3. Used URL `https://backend.historycode.online/api/auth/register`

**Steps to reproduce:**
1. Use json request where last name have numbers:
{
"name": "Анна",
"surname": "Devid12",
"email": "examplee33ee44ff@gmail.com",
"password": "12QWqw!@",
"passwordConfirmation": "12QWqw!@"
}
2. Click on Send

**Actual result:**
Status code 200 OK

Expected result:
Status code 400 "The Surname field must be a string or array type without numbers or symbols special characters."

User story and test case links: #2085 #2103 #2411

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.