Skip to content

Commit

Permalink
Merge pull request #10511 from onilton/patch-2
Browse files Browse the repository at this point in the history
Fix duplicated code line in docs of JavaFileUpload
  • Loading branch information
mergify[bot] committed Nov 10, 2020
2 parents 7d1e101 + d758ed5 commit 414ec68
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ public void testFileUpload() throws IOException {
FileIO.fromPath(file.toPath()),
Files.size(file.toPath()));

// ###replace: Http.RequestBuilder request =
// Helpers.fakeRequest().uri(routes.MyController.upload().url())
Http.RequestBuilder request =
Helpers.fakeRequest()
// ###replace: .uri(routes.MyController.upload().url())
.uri("/upload")
.method("POST")
.bodyRaw(
Expand Down

0 comments on commit 414ec68

Please sign in to comment.