Skip to content

Commit 9429ba2

Browse files
committed
refactor test name
1 parent b8c19bc commit 9429ba2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

integration/test/authorization.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('authorization test', () => {
2020
'/api/scores/endResult/junior',
2121
]
2222
it.each(postEndpoint)(
23-
'pOST %p endpoint should return unauthorized',
23+
'endpoint POST %p should return unauthorized',
2424
(endpoint) =>
2525
request(appBaseUrl)
2626
.post(endpoint)
@@ -29,7 +29,7 @@ describe('authorization test', () => {
2929
})
3030
)
3131

32-
it('gET "/api/team" endpoint should return unauthorized', () =>
32+
it('endpoint GET "/api/team" should return unauthorized', () =>
3333
request(appBaseUrl)
3434
.get('/api/team')
3535
.then((response) => {
@@ -38,7 +38,7 @@ describe('authorization test', () => {
3838

3939
const putEndpoints = ['/api/admin/team', '/api/team']
4040
it.each(putEndpoints)(
41-
'pUT %p endpoint should return unauthorized',
41+
'endpoint PUT %p should return unauthorized',
4242
(endpoint) =>
4343
request(appBaseUrl)
4444
.put(endpoint)

0 commit comments

Comments
 (0)