Trinh Tong 5 年 前
コミット
0fc2afb2cb
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2
    2
      src/test/java/io/zipcoder/tc_spring_poll_application/controller/VoteControllerTest.java

+ 2
- 2
src/test/java/io/zipcoder/tc_spring_poll_application/controller/VoteControllerTest.java ファイルの表示

@@ -144,8 +144,8 @@ public class VoteControllerTest {
144 144
 
145 145
         /* Fixed by adding an equals method and hashcode to each  object.
146 146
          * during mocking the 'save' method is checking the absolute equality
147
-          * and since it's technically a different object, we have to override the equals method
148
-          * to properly compare the objects. */
147
+         * and since it's technically a different object, we have to override the equals method
148
+         * to properly compare the objects. */
149 149
 
150 150
         given(pollRepository.findOne(TEST_ID)).willReturn(testPoll);
151 151
         given(voteRepository.save(testVote2)).willReturn(testVote2);