Skip to content

Commit

Permalink
Change response code expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
ScharfViktor committed Dec 1, 2023
1 parent 5bfc384 commit 6455350
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/k6-tdk/src/client/group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class Group extends EndpointClient {

check({ val: response }, {
'client -> group.createGroup - status': ({ status }) => {
return status === 200
return status === 201
}
})

Expand Down
2 changes: 1 addition & 1 deletion packages/k6-tdk/src/client/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class User extends EndpointClient {

check({ val: response }, {
'client -> user.createUser - status': ({ status }) => {
return status === 200
return status === 201
}
})

Expand Down

0 comments on commit 6455350

Please sign in to comment.