interact: fix interact tests

This commit is contained in:
c9s 2022-01-14 02:36:57 +08:00
parent 17322cbc09
commit 42430fde4b

View File

@ -103,8 +103,7 @@ func TestCustomInteraction(t *testing.T) {
globalInteraction := New() globalInteraction := New()
telegram := &Telegram{ telegram := &Telegram{
Bot: b, Bot: b,
Interact: globalInteraction,
} }
globalInteraction.SetMessenger(telegram) globalInteraction.SetMessenger(telegram)