Skip to content

Commit fadb3bf

Browse files
committed
Removed the test checking for a non-null website.
1 parent 9e95b13 commit fadb3bf

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,4 @@ void testCreateOrganizationWithoutDescription() {
148148
String body = e.getResponse().getBody(String.class).get();
149149
assertTrue(body.contains("organization.description: must not be blank"), body + " should contain 'organization.description: must not be blank'");
150150
}
151-
152-
@Test
153-
void testCreateOrganizationWithoutWebsite() {
154-
MemberProfile memberProfile = createADefaultMemberProfile();
155-
String adminAuth = auth(memberProfile.getWorkEmail(), ADMIN_ROLE);
156-
VolunteeringOrganizationDTO org = new VolunteeringOrganizationDTO("name", "description", null);
157-
158-
HttpClientResponseException e = assertThrows(HttpClientResponseException.class, () -> organizationClient.createOrganization(adminAuth, org));
159-
assertEquals(HttpStatus.BAD_REQUEST, e.getStatus());
160-
String body = e.getResponse().getBody(String.class).get();
161-
assertTrue(body.contains("organization.website: must not be blank"), body + " should contain 'organization.website: must not be blank'");
162-
}
163151
}

0 commit comments

Comments
 (0)