1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-18 01:57:02 +00:00

Move datastore mocks into correct package

- Start of work for #48
- Continues #67
This commit is contained in:
James Hillyerd
2017-12-26 15:45:18 -08:00
parent 3a4fd3f093
commit 11033a5359
3 changed files with 25 additions and 26 deletions

View File

@@ -25,8 +25,8 @@ type InputMessageData struct {
HTML, Text string
}
func (d *InputMessageData) MockMessage() *MockMessage {
msg := &MockMessage{}
func (d *InputMessageData) MockMessage() *datastore.MockMessage {
msg := &datastore.MockMessage{}
msg.On("ID").Return(d.ID)
msg.On("From").Return(d.From)
msg.On("To").Return(d.To)