File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/test/java/org/primeframework/mvc Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1219,6 +1219,7 @@ public void get_unknownParameters() throws Exception {
12191219
12201220 @ Test
12211221 public void get_url_rewrite () {
1222+ // Ensure a legacy configuration no longer has any affect on the request mapper.
12221223 simulator .test ("/doesNotExist?__a_foo=/user/edit&foo=true" )
12231224 .get ()
12241225 .assertStatusCode (404 )
Original file line number Diff line number Diff line change 4343import com .google .inject .util .Modules ;
4444import io .fusionauth .http .HTTPMethod ;
4545import io .fusionauth .http .io .BlockingByteBufferOutputStream ;
46+ import io .fusionauth .http .io .MultipartConfiguration ;
4647import io .fusionauth .http .log .AccumulatingLoggerFactory ;
4748import io .fusionauth .http .log .BaseLogger ;
4849import io .fusionauth .http .log .Level ;
@@ -225,7 +226,8 @@ public void beforeMethod() {
225226 MockStaticClasspathResourceFilter .TestFunction = null ;
226227
227228 // Reset file deletion as the default behavior
228- simulator .main .configuration ()[0 ].getMultipartConfiguration ().withDeleteTemporaryFiles (true );
229+ // - Reset to the defaults set by java-http
230+ simulator .main .configuration ()[0 ].withMultipartConfiguration (new MultipartConfiguration ());
229231 }
230232
231233 @ BeforeSuite
You can’t perform that action at this time.
0 commit comments