Ran
|
Files
20
|
Run time
0s
|
Badge
Embed ▾
README BADGES
|
push
github
feat(hub): add payload content to new subscriber log in debug mode (#779) * feat(hub): add metadata to new subscriber log Ref: #546 * feat(hub): display payload in new subscriber log only in debug mode * test(hub): add a test with debug mode... ... to ensure payload is properly logged * test(hub): make sure payload is present in debug mode only * style(hub): fix golangci issues - use gofumpt instead of go fmt - declare testSubscribeLogs as an helper * test: update tests to chez payload content * style: add a blank line before return * test(hub): debug subscription test * test: unmarshal some json to mimic jwt payload content * fix(hub): add payload if log level is debug * test(hub): use assert.Equal instead of assert.True * test: try again with a structure * Revert "test: try again with a structure" This reverts commit e4b283f24. * test: get rid of json.Unmarshal by declaring the resulting structure directly * minor cleanup --------- Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
1535 of 1812 relevant lines covered (84.71%)
68.44 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|