mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-22 20:17:02 +00:00
Move handler tests to shared datastore mocks for #48
This commit is contained in:
@@ -78,7 +78,7 @@ type MockDataStore struct {
|
||||
}
|
||||
|
||||
func (m *MockDataStore) MailboxFor(name string) (datastore.Mailbox, error) {
|
||||
args := m.Called()
|
||||
args := m.Called(name)
|
||||
return args.Get(0).(datastore.Mailbox), args.Error(1)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user