fix: comparaison between two projects instead of their IDs
Some checks failed
Format / formatting (push) Successful in 6s
Build / build (push) Failing after 38s
CI / build (push) Successful in 14s

This commit is contained in:
Pierre Tellier
2025-04-06 20:14:43 +02:00
parent aaa6e46d0c
commit 9e1f568ea4
2 changed files with 10 additions and 1 deletions

View File

@ -87,13 +87,17 @@ public class EntrepreneurApiServiceTest {
@Test
void editValidSectionCell() {
System.out.println("START\n\n\n");
entrepreneurApiService.editSectionCell(
IterableToList(sectionCells).getFirst().getIdSectionCell(),
"modified content",
"entrepreneur@mail.fr");
// We get the data from the database again.
sectionCells = sectionCellService.getSectionCellsByProject(project, 2L);
assertEquals(
"modified content",
IterableToList(sectionCells).getFirst().getContentSectionCell());
System.out.println("END\n\n\n");
}
@Test