diff --git a/api/src/test/java/ca/bc/gov/educ/api/edx/service/EdxUsersServiceTests.java b/api/src/test/java/ca/bc/gov/educ/api/edx/service/EdxUsersServiceTests.java index cb42c032..d9d1f90f 100644 --- a/api/src/test/java/ca/bc/gov/educ/api/edx/service/EdxUsersServiceTests.java +++ b/api/src/test/java/ca/bc/gov/educ/api/edx/service/EdxUsersServiceTests.java @@ -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());