Update Javadoc for MockMvc
Deleted reference to the obsolete configureWarRootDir() method from the stand-alone spring-test-mvc project.
This commit is contained in:
parent
91da138314
commit
18bf860c27
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
* Copyright 2002-2013 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -38,7 +38,7 @@ import org.springframework.util.Assert;
|
|||
*
|
||||
* WebApplicationContext wac = ...;
|
||||
*
|
||||
* MockMvc mockMvc = webAppContextSetup(wac).configureWarRootDir("src/main/webapp", false).build()
|
||||
* MockMvc mockMvc = webAppContextSetup(wac).build();
|
||||
*
|
||||
* mockMvc.perform(get("/form"))
|
||||
* .andExpect(status().isOk())
|
||||
|
|
Loading…
Reference in New Issue