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

Backport: Use custom Number deserialization in pushover and webhook #55

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

yuri-tceretian
Copy link
Contributor

This is a backport of #54 to 9.4.x branch

Copy link
Collaborator

@gotjosh gotjosh left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -181,6 +181,48 @@ func TestPushoverNotifier(t *testing.T) {
},
expMsgError: nil,
},
{
name: "Integer fields as empty strings",
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't see a test for string types, am I missing something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's the test above. It tests more stuff but covers that case. I am working on refactoring all these tests and make it more clear.

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.

None yet

2 participants