Skip to content

fix: test-util snippet to proper status code check [no-ticket]#7844

Merged
filfreire merged 1 commit intoKong:developfrom
filfreire:fix/test-util-snippet
Aug 20, 2024
Merged

fix: test-util snippet to proper status code check [no-ticket]#7844
filfreire merged 1 commit intoKong:developfrom
filfreire:fix/test-util-snippet

Conversation

@filfreire
Copy link
Contributor

@filfreire filfreire commented Aug 16, 2024

response.code returns status code number. Before the snippet we were suggesting was wrong, checking the status code "string" instead.

@filfreire filfreire requested a review from a team August 16, 2024 13:09
Copy link
Contributor

@ihexxa ihexxa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I also fixed this on the runner side.

@filfreire filfreire merged commit b0fb6fb into Kong:develop Aug 20, 2024
@filfreire filfreire deleted the fix/test-util-snippet branch August 20, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants