Skip to content

Commit

Permalink
Polishing.
Browse files Browse the repository at this point in the history
Indentation in testcases (spaces -> tabs). Additional imports.
  • Loading branch information
odrotbohm committed Jan 25, 2022
1 parent a1faffe commit 621eb18
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
import org.springframework.dao.InvalidDataAccessApiUsageException;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.ExampleMatcher;
import org.springframework.data.domain.ExampleMatcher.GenericPropertyMatcher;
import org.springframework.data.domain.ExampleMatcher.StringMatcher;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.PageRequest;
Expand Down Expand Up @@ -1011,16 +1013,16 @@ void looksUpEntityReferenceUsingGetById() {
assertThat(result).isEqualTo(firstUser);
}

@Test // GH-2232
void looksUpEntityReferenceUsingGetReferenceById() {
@Test // GH-2232
void looksUpEntityReferenceUsingGetReferenceById() {

flushTestUsers();
flushTestUsers();

User result = repository.getReferenceById(firstUser.getId());
assertThat(result).isEqualTo(firstUser);
}
User result = repository.getReferenceById(firstUser.getId());
assertThat(result).isEqualTo(firstUser);
}

@Test // DATAJPA-415
@Test // DATAJPA-415
void invokesQueryWithVarargsParametersCorrectly() {

flushTestUsers();
Expand Down

0 comments on commit 621eb18

Please sign in to comment.