Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-11299

Add patch() to MockMvcRequestBuilders

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 3.2.6, 4.0 GA
    • Fix Version/s: 3.2.7, 4.0.1
    • Component/s: Test
    • Last commented by a User:
      true

      Description

      While working on a pull request for Spring Data REST for PATCH support, I started writing a test case, only to discover we don't have a patch() method to simulate an HTTP PATCH. It would be very useful and probably not a lot of effort to add that on.

        Attachments

          Activity

            People

            Assignee:
            rstoya05-aop Rossen Stoyanchev
            Reporter:
            gregturn Greg Turnquist
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 37 weeks, 1 day ago