1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 15:07:42 +02:00

Add convenience functions for testing (#1401)

* Add convenience functions for testing

* Fix remarks from PR and add tests

* Add unpin to read_json_body

* Update changelog
This commit is contained in:
Tore Pettersen
2020-04-05 21:12:44 +02:00
committed by GitHub
parent aaff68bf05
commit 0ad02ee0e0
2 changed files with 98 additions and 0 deletions

View File

@ -14,6 +14,7 @@
### Added
* Add helper function for creating routes with `TRACE` method guard `web::trace()`
* Add convenience functions `test::read_body_json()` and `test::TestRequest::send_request()` for testing.
### Changed