質問編集履歴

1

変数にミスが合ったので修正

2020/04/01 05:33

投稿

tennis
tennis

スコア19

test CHANGED
File without changes
test CHANGED
@@ -90,7 +90,7 @@
90
90
 
91
91
  @Autowired
92
92
 
93
- private TeacherRepository book;
93
+ private TeacherRepository teacher;
94
94
 
95
95
 
96
96
 
@@ -114,7 +114,7 @@
114
114
 
115
115
  student.setSubject(student.getSubject());
116
116
 
117
- book.insert(student);
117
+ teacher.insert(student);
118
118
 
119
119
  }
120
120