Skip to content

Fix WebTestCase restoring of Http Client fixtures

Choose a tag to compare

@hugo-goncalves-kununu hugo-goncalves-kununu released this 03 Sep 10:36
· 9 commits to main since this release
v21.0.0
dffca48

What's Changed

Breaking Changes

  • WebTestCase::doRequest method no longer has a 3rd optional Options value
    • Instead of using this value when restoring the fixtures, the bundle will always use Options::create()->withoutClear()->withAppend() as the options for each restored Http Client fixture

New

  • RequestBuilder now has factory methods for all HTTP Methods
    • aConnectRequest
    • aDeleteRequest
    • aGetRequest
    • aHeadRequest
    • aOptionsRequest
    • aPatchRequest
    • aPostRequest
    • aPurgeRequest
    • aPutRequest
    • aTraceRequest

Other Changes

  • RequestBuilder is refactored as a AbstractBasicItem
  • Documentation improved

Full Changelog: v20.3.0...v21.0.0