Skip to content

test(handlers): allow mocked import notification server to receive multiple notifications by path

Jaime Martinez requested to merge test-extend-import-notifier-mock into master

While writing tests for !878 (merged) I realized the mock server can receive notifications in any order. Which means that the expected notification sometimes fails given we assert the wrong payload.

This MR extends the mocked server to store notifications by path so that the server sends the correct notification to the correct client by repository path.

It depends on !877 (merged) being merged first

Related to #555 (closed)

Edited by Jaime Martinez

Merge request reports