()
| 30 | } |
| 31 | |
| 32 | func createEventDB() *getEventDB { |
| 33 | return &getEventDB{ |
| 34 | eventMap: make(map[string]*gomatrixserverlib.Event), |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | // Adds a fake event to the storage with given auth events. |
| 39 | func (db *getEventDB) addFakeEvent(eventID string, authIDs []string) error { |
no outgoing calls
no test coverage detected