Fix deletion of repositories from search index (#1813)

This commit is contained in:
Sebastian Sdorra
2021-09-27 13:15:29 +02:00
committed by GitHub
parent ad2dfa42fd
commit 24effd9041
3 changed files with 12 additions and 5 deletions

View File

@@ -97,7 +97,7 @@ class RepositoryIndexerTest {
when(index.getDetails().getType()).then(ic -> Repository.class);
indexer.createDeleteTask(heartOfGold).update(index);
verify(index.delete()).byId(Id.of(Repository.class, heartOfGold));
verify(index.delete()).byId(Id.of(Repository.class, heartOfGold).and(heartOfGold));
}
@Test