You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce
Create a collection on Postman
Click on the “add request” button
Use the POST method to call a request http://qa-school-test-api.quantori.academy/api/v1/session
Enter the following “string” in the “Body” in the following order
• {
“username”: “admin”,
“password”: “1234”
}
Press the “send” button to generate an “accessToken”.
Click “Add request” to call a 'non-existing material id' in a course
Use the POST method to call a request {{Host}}api/v1/courses/3093/materials/200
Enter the body
{
"title": "Ni àtijọ́, àwọn ọmọ ilé-iwé ló ńran àgbàlagbà ti kò lọ ",
"data": "Ni àtijọ́, àwọn ọmọ ilé-iwé ló ńran àgbàlagbà ti kò lọ ilé-iwé lọ́wọ́ lati kọ iwé, pataki ni èdè abínibí",
"order": 7
}
Actual behaviour
• Status code: 200; Ok
Body Response:
{
"id": 851,
"title": "Ni àtijọ́, àwọn ọmọ ilé-iwé ló ńran àgbàlagbà ti kò lọ ",
"data": "Ni àtijọ́, àwọn ọmọ ilé-iwé ló ńran àgbàlagbà ti kò lọ ilé-iwé lọ́wọ́ lati kọ iwé, pataki ni èdè abínibí",
"order": 7,
"courseId": 3093
}
Expected ### behaviour
• Status code: 400 Bad request
Body Response: "Only RU/EN alphabet, space and digits allowed, please change your request"
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered:
BeatBioInfo
changed the title
Create a course material with an unspecified language (Yoruba)
Created a course material with an unspecified language (Yoruba)
Jul 1, 2022
@viraxslot I didn't know it was a feature as I wasn't sure it was explicitly specified in the requirement. In that case, wouldn't it be preferable to have the language feature location-based as compared to being generic?
Yes, since we are yet to have a location based course. I think EN/RU would be suitable since that has been the standard language validation used so far.
Steps to reproduce
Create a collection on Postman
Click on the “add request” button
Use the POST method to call a request http://qa-school-test-api.quantori.academy/api/v1/session
Enter the following “string” in the “Body” in the following order
• {
“username”: “admin”,
“password”: “1234”
}
Press the “send” button to generate an “accessToken”.
Click “Add request” to call a 'non-existing material id' in a course
Use the POST method to call a request {{Host}}api/v1/courses/3093/materials/200
Enter the body
{
"title": "Ni àtijọ́, àwọn ọmọ ilé-iwé ló ńran àgbàlagbà ti kò lọ ",
"data": "Ni àtijọ́, àwọn ọmọ ilé-iwé ló ńran àgbàlagbà ti kò lọ ilé-iwé lọ́wọ́ lati kọ iwé, pataki ni èdè abínibí",
"order": 7
}
Actual behaviour
• Status code: 200; Ok
Body Response:
{
"id": 851,
"title": "Ni àtijọ́, àwọn ọmọ ilé-iwé ló ńran àgbàlagbà ti kò lọ ",
"data": "Ni àtijọ́, àwọn ọmọ ilé-iwé ló ńran àgbàlagbà ti kò lọ ilé-iwé lọ́wọ́ lati kọ iwé, pataki ni èdè abínibí",
"order": 7,
"courseId": 3093
}
Expected ### behaviour
• Status code: 400 Bad request
Body Response: "Only RU/EN alphabet, space and digits allowed, please change your request"
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: