test: fix test build error
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -20,7 +20,7 @@ class MockProfiles: Profiles {
|
||||
super.init(ndb: ndb)
|
||||
}
|
||||
|
||||
override func lookup(id: Pubkey) -> NdbTxn<Profile?>? {
|
||||
func lookup(id: Pubkey) -> NdbTxn<Profile?>? {
|
||||
return NdbTxn(ndb: self.ndb) { txn in
|
||||
return self.mocked_profiles[id]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user