Some accesses are not in model
VincentBlondeau opened this issue · 1 comments
VincentBlondeau commented
I took as example the project https://github.com/awillemant/puho commit version 8c29333.
There is this code:
package puho.controller;
public class PublicHolidayControllerTests {
private MockMvc mockMvc;
@Autowired
private WebApplicationContext webApplicationContext;
@Before
public void setup() throws Exception {
this.mockMvc = webAppContextSetup(webApplicationContext).build();
}
....
}
In the model, the method PublicHolidayControllerTests::setup()
accesses contain only webApplicationContext
and should also contain mockMvc
.
girba commented
This is strange. I am taking a look.