-
Notifications
You must be signed in to change notification settings - Fork 71
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
Temba Chat #673
Temba Chat #673
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #673 +/- ##
==========================================
+ Coverage 74.39% 74.44% +0.05%
==========================================
Files 97 98 +1
Lines 13085 13119 +34
==========================================
+ Hits 9734 9767 +33
- Misses 2662 2663 +1
Partials 689 689 ☔ View full report in Codecov by Sentry. |
} | ||
|
||
func setSendURL(s *httptest.Server, h courier.ChannelHandler, c courier.Channel, m courier.MsgOut) { | ||
defaultSendURL = s.URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it i better to set the config send URL here and remove defaultSendURL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm just copying how other handlers are done but I did wonder if all handlers should support send_url
in config and then this can be the normal way of overriding it in tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that could work too
Still needs some kind of token based security