Skip to content

Commit 877b92c

Browse files
committed
Fixes
1 parent 58e5f70 commit 877b92c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

server/src/test/java/com/objectcomputing/checkins/services/reviews/ReviewAssignmentControllerTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@ void testGETFindAssignmentsByPeriodIdDefaultAssignments() {
148148

149149
assertNotNull(response.body());
150150
assertEquals(0, Objects.requireNonNull(response.body()).size());
151-
assertTrue(response.body().stream().anyMatch(ra -> ra.getRevieweeId().equals(memberOne.getId())));
152-
assertTrue(response.body().stream().anyMatch(ra -> ra.getRevieweeId().equals(memberTwo.getId())));
153-
assertTrue(response.body().stream().anyMatch(ra -> ra.getRevieweeId().equals(memberThree.getId())));
154151
assertEquals(HttpStatus.OK, response.getStatus());
155152
}
156153

server/src/test/java/com/objectcomputing/checkins/services/volunteering/VolunteeringRelationshipControllerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ void canListAndFilterRelationships() {
236236
// Can include inactive relationships
237237
List<VolunteeringRelationship> allWithInactiveRelationships = relationshipClient.list(memberAuth, null, null, true);
238238
assertEquals(4, allWithInactiveRelationships.size());
239-
assertEquals(List.of(sarahLiftForLife.getId(), timLiftForLife.getId(), sarahFoodbank.getId(), timFoodbankInactive.getId()), allWithInactiveRelationships.stream().map(VolunteeringRelationship::getId).toList());
239+
assertEquals(List.of(sarahFoodbank.getId(), sarahLiftForLife.getId(), timFoodbankInactive.getId(), timLiftForLife.getId()), allWithInactiveRelationships.stream().map(VolunteeringRelationship::getId).toList());
240240

241241
// Can filter by memberId
242242
List<VolunteeringRelationship> timRelationships = relationshipClient.list(memberAuth, tim.getId(), null, null);

0 commit comments

Comments
 (0)