Skip to content

Commit 97b96ed

Browse files
committed
Forgot to migrate this test apply to applyBlocking
1 parent 79b4b61 commit 97b96ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/gridsuite/modification/server/service/ModificationIndexationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ void testReindexAll() {
392392
List<ModificationEntity> entities = modificationRepository.saveModifications(groupUuid1, loadCreationInfosList.stream().map(ModificationEntity::fromDTO).toList());
393393

394394
// apply modifications to index them
395-
networkModificationApplicator.applyModifications(new ModificationApplicationGroup(groupUuid1, entities, reportInfos), networkInfos);
395+
networkModificationApplicator.applyModificationsBlocking(new ModificationApplicationGroup(groupUuid1, entities, reportInfos), networkInfos);
396396

397397
// assert they are both stored in ES and in postgres
398398
assertEquals(3, modificationApplicationRepository.findAll().size());

0 commit comments

Comments
 (0)