forgot to format
Some checks failed
Format / formatting (push) Successful in 6s
Build / build (push) Failing after 39s
CI / build (push) Successful in 11s

This commit is contained in:
MAILLAL Anas 2025-04-23 11:50:48 +02:00
parent 8ee06b93a6
commit 32557f8f87
2 changed files with 28 additions and 31 deletions

View File

@ -50,7 +50,9 @@ public class SharedApiService {
EntrepreneurService entrepreneurService, EntrepreneurService entrepreneurService,
SectionCellService sectionCellService, SectionCellService sectionCellService,
AppointmentService appointmentService, AppointmentService appointmentService,
UtilsService utilsService, EntrepreneurApi entrepreneurApi, AdminApi adminApi) { UtilsService utilsService,
EntrepreneurApi entrepreneurApi,
AdminApi adminApi) {
this.projectService = projectService; this.projectService = projectService;
this.entrepreneurService = entrepreneurService; this.entrepreneurService = entrepreneurService;
this.sectionCellService = sectionCellService; this.sectionCellService = sectionCellService;

View File

@ -217,8 +217,6 @@ public class SharedApiServiceTest {
* |_|\___||___/\__|____/ \___|\___|\__|_|\___/|_| |_|\____\___|_|_| * |_|\___||___/\__|____/ \___|\___|\__|_|\___/|_| |_|\____\___|_|_|
*/ */
/* /*
* Tests retrieving section cells for a specific project and section ID before a given date * Tests retrieving section cells for a specific project and section ID before a given date
* when the user is authorized but no matching cells exist. * when the user is authorized but no matching cells exist.
@ -309,7 +307,6 @@ public class SharedApiServiceTest {
assertEquals(HttpStatus.UNAUTHORIZED, exception.getStatusCode()); assertEquals(HttpStatus.UNAUTHORIZED, exception.getStatusCode());
} }
/* /*
* _____ _ ____ _ ____ _ _ ____ * _____ _ ____ _ ____ _ _ ____
* |_ _|__ ___| |_ / ___| ___| |_| _ \ _ __ ___ (_) ___ ___| |_| __ ) _ _ * |_ _|__ ___| |_ / ___| ___| |_| _ \ _ __ ___ (_) ___ ___| |_| __ ) _ _
@ -360,7 +357,6 @@ public class SharedApiServiceTest {
assertEquals(HttpStatus.UNAUTHORIZED, exception.getStatusCode()); assertEquals(HttpStatus.UNAUTHORIZED, exception.getStatusCode());
} }
/* /*
* _____ _ ____ _ _ _ _ ____ * _____ _ ____ _ _ _ _ ____
* |_ _|__ ___| |_ / ___| ___| |_ / \ __| |_ __ ___ (_)_ __ | __ ) _ _ * |_ _|__ ___| |_ / ___| ___| |_ / \ __| |_ __ ___ (_)_ __ | __ ) _ _
@ -487,7 +483,7 @@ public class SharedApiServiceTest {
"Related Section Content Integrated", "Related Section Content Integrated",
LocalDateTime.now())); LocalDateTime.now()));
Report newReport = null;// getTestReport(reportContent); // Uses no-arg constructor Report newReport = null; // getTestReport(reportContent); // Uses no-arg constructor
Appointment newAppointment = Appointment newAppointment =
getTestAppointment( getTestAppointment(
@ -710,7 +706,6 @@ public class SharedApiServiceTest {
assertEquals(HttpStatus.UNAUTHORIZED, exception.getStatusCode()); assertEquals(HttpStatus.UNAUTHORIZED, exception.getStatusCode());
} }
// --- Test Methods (Use static data from @BeforeAll where possible) --- // --- Test Methods (Use static data from @BeforeAll where possible) ---
/* /*