Skip to content

Commit 83fa37f

Browse files
izeyewilkinsona
authored andcommitted
Suppress deprecation warnings in RestDocumentationRequestBuildersTests
See gh-821
1 parent f324611 commit 83fa37f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-restdocs-mockmvc/src/test/java/org/springframework/restdocs/mockmvc/RestDocumentationRequestBuildersTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,13 @@ public void requestUri() {
129129
assertUri(request(HttpMethod.GET, URI.create("/uri")), HttpMethod.GET);
130130
}
131131

132+
@SuppressWarnings("deprecation")
132133
@Test
133134
public void fileUploadTemplate() {
134135
assertTemplate(fileUpload("/{template}", "t"), HttpMethod.POST);
135136
}
136137

138+
@SuppressWarnings("deprecation")
137139
@Test
138140
public void fileUploadUri() {
139141
assertUri(fileUpload(URI.create("/uri")), HttpMethod.POST);

0 commit comments

Comments
 (0)