1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

corrected webui/rest_test.go

This commit is contained in:
Tomasz Wojtuń
2016-09-13 08:19:56 +02:00
committed by James Hillyerd
parent 8d36aa9750
commit 8f14ba8359

View File

@@ -478,6 +478,11 @@ func (m *MockMessage) From() string {
return args.String(0)
}
func (m *MockMessage) To() string {
args := m.Called()
return args.String(0)
}
func (m *MockMessage) Date() time.Time {
args := m.Called()
return args.Get(0).(time.Time)