File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/test/java/hexlet/code/controller/api Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1414import org .springframework .boot .test .autoconfigure .web .servlet .AutoConfigureMockMvc ;
1515import org .springframework .boot .test .context .SpringBootTest ;
1616import org .springframework .http .MediaType ;
17- import org .springframework .security .test .web .servlet .request .SecurityMockMvcRequestPostProcessors ;
1817import org .springframework .test .web .servlet .MockMvc ;
1918import org .springframework .test .web .servlet .setup .MockMvcBuilders ;
2019import org .springframework .web .context .WebApplicationContext ;
@@ -94,8 +93,7 @@ void testShow() throws Exception {
9493
9594 @ Test
9695 void testCreate () throws Exception {
97- var data = Instancio .of (modelGenerator .getTaskStatusModel ())
98- .create ();
96+ var data = Instancio .of (modelGenerator .getTaskStatusModel ()).create ();
9997
10098 var request = post ("/api/task_statuses" )
10199 .contentType (MediaType .APPLICATION_JSON )
You can’t perform that action at this time.
0 commit comments