Skip to content

Commit e63a5f3

Browse files
committed
Refactored variable name from dao to repository.
1 parent 48ea25f commit e63a5f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-data-jpa-showcase/src/test-snippets/java/org/springframework/data/jpa/showcase/snippets/test/AccountRepositoryIntegrationTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
*/
1313
public abstract class AccountRepositoryIntegrationTest {
1414

15-
private AccountRepository accountDao;
15+
private AccountRepository accountRepository;
1616

1717

1818
public void removesExpiredAccountsCorrectly() throws Exception {
1919

20-
accountDao.removedExpiredAccounts(new LocalDate(2011, 1, 1));
21-
assertThat(accountDao.count(), is(1L));
20+
accountRepository.removedExpiredAccounts(new LocalDate(2011, 1, 1));
21+
assertThat(accountRepository.count(), is(1L));
2222
}
2323
}

0 commit comments

Comments
 (0)