mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 23:56:56 +00:00
test: add test with changing address order
This commit is contained in:
@ -46,6 +46,11 @@ func (store *Store) TestGetEventLoop() *eventLoop { //nolint[golint]
|
||||
return store.eventLoop
|
||||
}
|
||||
|
||||
// TestGetLastEvent returns last event processed by the store's event loop.
|
||||
func (store *Store) TestGetLastEvent() *pmapi.Event { //nolint[golint]
|
||||
return store.eventLoop.currentEvent
|
||||
}
|
||||
|
||||
// TestGetStoreFilePath returns the filepath of the store's database file.
|
||||
func (store *Store) TestGetStoreFilePath() string {
|
||||
return store.filePath
|
||||
|
||||
Reference in New Issue
Block a user