fix: comparaison between two projects instead of their IDs
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user