Skip to content

Commit

Permalink
fix test descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
mariscalromeroalejandro committed Jan 31, 2025
1 parent 7c15b19 commit fa78af1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions QualityControl/test/api/layouts/api-patch-layout.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import request from 'supertest';

export const apiPatchLayoutTests = () => {
suite('PATCH /layout/:id', () => {
test('should return a 404 error if the id of the layout does not exist', async () => {
test('should return a 404 error if the id of the layout is not provided', async () => {
await request(`${URL_ADDRESS}/api/layout/`)
.patch(`?token=${OWNER_TEST_TOKEN}`)
.expect(404, {
Expand All @@ -27,7 +27,7 @@ export const apiPatchLayoutTests = () => {
});
});

test('should return a 404 error if the id is not provided', async () => {
test('should return a 404 error if the id of the layout does not exist', async () => {
await request(`${URL_ADDRESS}/api/layout/test`)
.patch(`?token=${OWNER_TEST_TOKEN}`)
.expect(404, {
Expand Down

0 comments on commit fa78af1

Please sign in to comment.