mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-01 15:00:08 +08:00
Add View store mock to retrylayer test genStore helper
The View store was added to the store interface but the genStore() helper in retrylayer_test.go was not updated, causing TestRetry to panic. Also removes the duplicate Recap mock registration.
This commit is contained in:
@@ -72,7 +72,7 @@ func genStore() *mocks.Store {
|
||||
mock.On("ReadReceipt").Return(&mocks.ReadReceiptStore{})
|
||||
mock.On("Recap").Return(&mocks.RecapStore{})
|
||||
mock.On("TemporaryPost").Return(&mocks.TemporaryPostStore{})
|
||||
mock.On("Recap").Return(&mocks.RecapStore{})
|
||||
mock.On("View").Return(&mocks.ViewStore{})
|
||||
return mock
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user