1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

manager: Test that MessageStored event is emitted (#318)

Signed-off-by: James Hillyerd <james@hillyerd.com>

Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
James Hillyerd
2023-01-17 19:26:44 -08:00
committed by GitHub
parent c9912bc2bb
commit b383fbf9ab
2 changed files with 43 additions and 1 deletions

View File

@@ -92,7 +92,6 @@ func (s *StoreManager) Deliver(
Date: delivery.Date(),
Size: delivery.Size(),
}
// TODO Add a unit test to make sure we send this.
s.ExtHost.Events.MessageStored.Emit(&event)
return id, nil