You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I took as example the project https://github.com/awillemant/puho commit version 8c29333.
In the model, the method
PublicHolidayControllerTests::setup()
accesses contain onlywebApplicationContext
and should also containmockMvc
.The text was updated successfully, but these errors were encountered: