Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging to release-5-lts: [TT-9829] Fix checking json.Marshal errors in tests (#5426) #5427

Conversation

buger
Copy link
Member

@buger buger commented Aug 17, 2023

TT-9829 Fix checking json.Marshal errors in tests (#5426)

  • Added test.MarshalJSON utility for encoding json in tests and
    asserting the error return is nil,
  • Updated usage in tests

This is required to resolve some sonarcloud errors in existing tests
code.

https://tyktech.atlassian.net/browse/TT-9829


Co-authored-by: Tit Petric tit@tyk.io

- Added `test.MarshalJSON` utility for encoding json in tests and
asserting the error return is nil,
- Updated usage in tests

This is required to resolve some sonarcloud errors in existing tests
code.

https://tyktech.atlassian.net/browse/TT-9829

---------

Co-authored-by: Tit Petric <tit@tyk.io>
(cherry picked from commit c985ee4)
@buger buger enabled auto-merge (squash) August 17, 2023 09:19
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

83.3% 83.3% Coverage
0.0% 0.0% Duplication

@buger buger merged commit a0e9365 into release-5-lts Aug 17, 2023
@buger buger deleted the merge/release-5-lts/c985ee423b31d6106223be934bc72f024cfe0180 branch August 17, 2023 09:32
@Tyk-ITS
Copy link
Contributor

Tyk-ITS commented Aug 17, 2023

API tests result: success
Branch used: refs/pull/5427/merge
Commit:
Triggered by: pull_request (@buger)
Execution page

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