Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.

Commit 557a5f5

Browse files
committed
fix(deps): latest bots-fw
1 parent 5ada462 commit 557a5f5

File tree

6 files changed

+51
-31
lines changed

6 files changed

+51
-31
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/bots-go-framework/bots-fw-mocks
33
go 1.23.5
44

55
require (
6-
github.com/bots-go-framework/bots-fw v0.55.0
6+
github.com/bots-go-framework/bots-fw v0.56.0
77
github.com/bots-go-framework/bots-fw-store v0.10.0
88
github.com/dal-go/dalgo v0.16.1
99
github.com/strongo/i18n v0.6.1

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ github.com/bots-go-framework/bots-fw v0.53.0 h1:dRb69FBAgOIbh6EzdpVAE+LYqlX2FUyB
66
github.com/bots-go-framework/bots-fw v0.53.0/go.mod h1:0jnsvUxO7RiYYaHQ4MIu5xT+YMwMb8LZMcBz/odkPuE=
77
github.com/bots-go-framework/bots-fw v0.55.0 h1:BH62B9Rhd9l+kX2EsWqADTFhlNwCx07NwZSWrYwIvuk=
88
github.com/bots-go-framework/bots-fw v0.55.0/go.mod h1:0jnsvUxO7RiYYaHQ4MIu5xT+YMwMb8LZMcBz/odkPuE=
9+
github.com/bots-go-framework/bots-fw v0.56.0 h1:8SwAU6pPy2nGXBbfBZGFnrtmXMKHJW14Zj5n2H67mnw=
10+
github.com/bots-go-framework/bots-fw v0.56.0/go.mod h1:0jnsvUxO7RiYYaHQ4MIu5xT+YMwMb8LZMcBz/odkPuE=
911
github.com/bots-go-framework/bots-fw-store v0.10.0 h1:e6bD274mjrHVp+X05/7uqqT3s5xZOqV9divKTaM2W+w=
1012
github.com/bots-go-framework/bots-fw-store v0.10.0/go.mod h1:7oU4B8j5HuJZM8AftosbyQD+AqckXsDv8eU1auGPzn8=
1113
github.com/bots-go-framework/bots-go-core v0.0.3 h1:z3A7DLUgxbHWxvTCGnkHP9WHpTT9xxROEypoqAfvYIQ=

mock_botsfw/webhook_context.go

Lines changed: 31 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mock_botsfw/webhook_context_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
package mock_botsfw
22

33
import (
4+
"github.com/bots-go-framework/bots-fw/botsfw"
45
"go.uber.org/mock/gomock"
56
"testing"
67
)
78

89
func TestNewMockWebhookContext(t *testing.T) {
910
ctrl := gomock.NewController(t)
1011
whcMock := NewMockWebhookContext(ctrl)
12+
var _ botsfw.WebhookContext = whcMock
1113
if whcMock == nil {
1214
t.Fatalf("NewMockWebhookContext() should not return nil")
1315
}

mock_botsfw/webook_responder.go

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mock_botsfw/webook_responder_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
func TestNewMockWebhookResponder(t *testing.T) {
1111
ctrl := gomock.NewController(t)
1212
responderMock := NewMockWebhookResponder(ctrl)
13+
var _ botsfw.WebhookResponder = responderMock
1314
if responderMock == nil {
1415
t.Fatalf("NewMockWebhookResponder() should not return nil")
1516
}

0 commit comments

Comments
 (0)