CUB-207: unit tests for event handlers and initial sync #44
Reference in New Issue
Block a user
Delete Branch "agent/dex/CUB-207-event-sync-tests-v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds unit tests for event handlers (events.go) and initial sync (sync.go) using mock repository and mock broker.
Tests added (12 new, 28 total in gateway package)
Event handler tests:
Initial sync tests:
All tests pass with
-raceflag.