mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-04 03:39:14 +02:00
Fix deletion of repositories from search index (#1813)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user