Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
Change GitHub issue references to the GH-nnn format.
  • Loading branch information
schauder committed Jul 13, 2021
1 parent 54d3588 commit 9eeb5a5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ void complexSpecificationsShouldBeSerializable() {
assertThat(transferredSpecification).isNotNull();
}

@Test // #2146
@Test // GH-2146
void andCombinesSpecificationsInOrder() {

Predicate firstPredicate = mock(Predicate.class);
Expand All @@ -162,7 +162,7 @@ void andCombinesSpecificationsInOrder() {
verify(builder).and(firstPredicate, secondPredicate);
}

@Test // #2146
@Test // GH-2146
void orCombinesSpecificationsInOrder() {

Predicate firstPredicate = mock(Predicate.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void equalsWorksForProxiedEntities() {
assertThat(proxy).isEqualTo(proxy);
}

@Test // gh-1697
@Test // GH-1697
void equalsWorksForProxiedEntitiesUsingGetById() {

CustomAbstractPersistable entity = repository.saveAndFlush(new CustomAbstractPersistable());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void savesCollectionCorrectly() throws Exception {
.containsExactlyInAnyOrder(firstUser, secondUser, thirdUser);
}

@Test // gh-2148
@Test // GH-2148
void savesAndFlushesCollectionCorrectly() {

assertThat(repository.saveAllAndFlush(asList(firstUser, secondUser, thirdUser))) //
Expand All @@ -183,7 +183,7 @@ void savingEmptyCollectionIsNoOp() throws Exception {
assertThat(repository.saveAll(new ArrayList<>())).isEmpty();
}

@Test // gh-2148
@Test // GH-2148
void savingAndFlushingEmptyCollectionIsNoOp() {
assertThat(repository.saveAllAndFlush(new ArrayList<>())).isEmpty();
}
Expand Down Expand Up @@ -1000,7 +1000,7 @@ void looksUpEntityReference() {
assertThat(result).isEqualTo(firstUser);
}

@Test // gh-1697
@Test // GH-1697
void looksUpEntityReferenceUsingGetById() {

flushTestUsers();
Expand Down Expand Up @@ -1123,7 +1123,7 @@ void saveAndFlushShouldSupportReturningSubTypesOfRepositoryEntity() {
assertThat(user.getEmailAddress()).isEqualTo(savedUser.getEmailAddress());
}

@Test // gh-2148
@Test // GH-2148
void saveAllAndFlushShouldSupportReturningSubTypesOfRepositoryEntity() {

repository.deleteAll();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void createsJoinForOptionalOneToOneInReverseDirection() {
});
}

@Test // gh-2111
@Test // GH-2111
void createsLeftJoinForOptionalToOneWithNestedNonOptional() {

CriteriaBuilder builder = em.getCriteriaBuilder();
Expand All @@ -132,7 +132,7 @@ void createsLeftJoinForOptionalToOneWithNestedNonOptional() {
assertThat(getInnerJoins(leftJoin)).isEmpty(); // no inner join customer
}

@Test // gh-2111
@Test // GH-2111
void createsLeftJoinForNonOptionalToOneWithNestedOptional() {

CriteriaBuilder builder = em.getCriteriaBuilder();
Expand All @@ -151,7 +151,7 @@ void createsLeftJoinForNonOptionalToOneWithNestedOptional() {
assertThat(getInnerJoins(leftJoin)).isEmpty(); // no inner join customer
}

@Test // gh-2111
@Test // GH-2111
void reusesLeftJoinForNonOptionalToOneWithNestedOptional() {

CriteriaBuilder builder = em.getCriteriaBuilder();
Expand All @@ -175,7 +175,7 @@ void reusesLeftJoinForNonOptionalToOneWithNestedOptional() {
assertThat(getNonInnerJoins(leftJoin)).hasSize(1); // left join customer
}

@Test // gh-2111
@Test // GH-2111
void reusesInnerJoinForNonOptionalToOneWithNestedOptional() {

CriteriaBuilder builder = em.getCriteriaBuilder();
Expand Down

0 comments on commit 9eeb5a5

Please sign in to comment.