質問編集履歴
1
.andExpectの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -44,10 +44,10 @@
|
|
44
44
|
|
45
45
|
.with(SecurityMockMvcRequestPostProcessors.csrf()))
|
46
46
|
|
47
|
-
.andExpect(status().is
|
47
|
+
.andExpect(status().isFound())
|
48
48
|
|
49
49
|
.andExpect(model().hasNoErrors())
|
50
50
|
|
51
|
-
.andExpect(view().name("/master"));
|
51
|
+
.andExpect(view().name("redirect:/master"));
|
52
52
|
|
53
53
|
```
|