• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

frappe / frappe / 27896
56%

Build:
DEFAULT BRANCH: develop
Ran 31 Jan 2020 10:23AM UTC
Jobs 4
Files 880
Run time 10min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
27896

push

travis-ci

web-flow
fix(sms_settings): add support for sending data as json (#9381)

* Add support for sending JSON to SMS Settings

Many SMS gateways expect data in raw JSON and do not accept plain
form data. This change enables this by detecting a "Content-Type"
header in the parameters with a value of "application/json", and
in this case decoding the message text to unicode as expected by
the `requests` module before passing the data to the `json`
parameter.

* Update frappe/core/doctype/sms_settings/sms_settings.py

Co-Authored-By: Chinmay Pai <chinmaydpai@gmail.com>

* Update frappe/core/doctype/sms_settings/sms_settings.py

Co-Authored-By: Chinmay Pai <chinmaydpai@gmail.com>

Co-authored-by: Chinmay Pai <chinmaydpai@gmail.com>

13 of 13 new or added lines in 1 file covered. (100.0%)

22487 of 42687 relevant lines covered (52.68%)

1.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27896.1 (DB=mariadb TYPE=server) 31 Jan 2020 10:23AM UTC 0
52.22
Travis Job 27896.1
2 27896.2 (DB=postgres TYPE=server) 31 Jan 2020 10:23AM UTC 0
52.21
Travis Job 27896.2
3 27896.3 (DB=mariadb TYPE=ui) 31 Jan 2020 10:33AM UTC 0
Travis Job 27896.3
4 27896.4 (DB=mariadb TYPE=server) 31 Jan 2020 10:24AM UTC 0
52.2
Travis Job 27896.4
Source Files on build 27896
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #27896
  • 9fe65cb8 on github
  • Prev Build on develop (#27893)
  • Next Build on develop (#27912)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc