Skip to content

Commit

Permalink
fix: one more public smell
Browse files Browse the repository at this point in the history
  • Loading branch information
trev-dev committed Sep 14, 2023
1 parent f247dbe commit 9934928
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ void findPrimaryEdxActivationCodeOutOfManyForDistrict() {
assertThat(found.getIsPrimary()).isTrue();
}

@Test()
public void findPrimaryEdxActivationCodeOnlyReturnsPrimaryEdxActivationCodeForSchool() {
@Test
void findPrimaryEdxActivationCodeOnlyReturnsPrimaryEdxActivationCodeForSchool() {
assertThrows(EntityNotFoundException.class, () -> {
EdxActivationCodeEntity secondaryEdxActivationCode = this.edxActivationCodeRepository.save(this.createEdxActivationCodeEntity(UUID.randomUUID().toString(), false, true, UUID.randomUUID(), 0, UUID.randomUUID(), null));
EdxActivationCodeEntity found = this.service.findPrimaryEdxActivationCode(InstituteTypeCode.SCHOOL, secondaryEdxActivationCode.getSchoolID().toString());
Expand Down

0 comments on commit 9934928

Please sign in to comment.