From 99349283fd7f3a0394ee54b513ded56565c93649 Mon Sep 17 00:00:00 2001 From: Trevor Richards Date: Thu, 14 Sep 2023 15:41:36 -0700 Subject: [PATCH] fix: one more public smell --- .../ca/bc/gov/educ/api/edx/service/EdxUsersServiceTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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());