Skip to content

Commit 7a04ca8

Browse files
committed
CountryServiceTest: invoke setter on the right object.
Correction for e4c2b1f commit.
1 parent 114e6dc commit 7a04ca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/ru/mystamps/web/service/CountryServiceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public void findAllShouldCallDao() {
169169
expectedCountries.add(country1);
170170

171171
Country country2 = getCountry();
172-
country1.setName("Second Country");
172+
country2.setName("Second Country");
173173
expectedCountries.add(country2);
174174

175175
when(countryDao.findAll()).thenReturn(expectedCountries);

0 commit comments

Comments
 (0)