Trinh Tong 5 vuotta sitten
vanhempi
commit
0fc2afb2cb

+ 2
- 2
src/test/java/io/zipcoder/tc_spring_poll_application/controller/VoteControllerTest.java Näytä tiedosto

@@ -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);