Commit d4a49c7
fix(test): update QueryServiceTest stubs for nonEndpointIds batch change
findRelatedEndpoints now partitions search matches into direct endpoints
(returned immediately) and non-endpoint nodes (passed to batch query).
Two tests were stubbing findEndpointNeighborsBatch with List.of("ep:getUsers")
but since ep:getUsers IS an endpoint, it never reaches the batch call —
nonEndpointIds is empty.
Update both tests to stub List.of() (the actual argument when all search
results are direct endpoint matches).
Co-Authored-By: Paperclip <noreply@paperclip.ing>1 parent 56fb08c commit d4a49c7
1 file changed
Lines changed: 5 additions & 5 deletions
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
| 574 | + | |
| 575 | + | |
575 | 576 | | |
576 | 577 | | |
577 | 578 | | |
| |||
586 | 587 | | |
587 | 588 | | |
588 | 589 | | |
589 | | - | |
| 590 | + | |
590 | 591 | | |
591 | | - | |
592 | | - | |
| 592 | + | |
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
596 | | - | |
| 596 | + | |
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
| |||
0 commit comments