Skip to content

Add patch() to MockMvcRequestBuilders [SPR-11299] #15923

Closed
@spring-projects-issues

Description

@spring-projects-issues

Greg Turnquist opened SPR-11299 and commented

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.


Affects: 3.2.6, 4.0 GA

Referenced from: commits 3db6a7f, 6b0d887

Backported to: 3.2.7

0 votes, 5 watchers

Metadata

Metadata

Assignees

Labels

in: testIssues in the test modulestatus: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions