This commit is contained in:
parent
c53942ac53
commit
d09b763aa7
24 changed files with 941 additions and 17 deletions
|
@ -5,6 +5,7 @@ import (
|
|||
"time"
|
||||
|
||||
"git.nakama.town/fmartingr/butterrobot/internal/model"
|
||||
"git.nakama.town/fmartingr/butterrobot/internal/testutil"
|
||||
)
|
||||
|
||||
func TestSearchReplace(t *testing.T) {
|
||||
|
@ -84,7 +85,8 @@ func TestSearchReplace(t *testing.T) {
|
|||
}
|
||||
|
||||
// Process message
|
||||
actions := p.OnMessage(msg, nil)
|
||||
mockCache := &testutil.MockCache{}
|
||||
actions := p.OnMessage(msg, nil, mockCache)
|
||||
|
||||
// Check results
|
||||
if tc.expectActions {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue