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()
telegram := &Telegram{
Bot: b,
Interact: globalInteraction,
Bot: b,
}
globalInteraction.SetMessenger(telegram)