Skip to content

Commit 3b67049

Browse files
committed
refactor: sessionxmock adding gocql.session
1 parent a60c9bd commit 3b67049

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sessionx.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package gocqlxmock
33
import (
44
"context"
55

6+
"github.com/gocql/gocql"
67
"github.com/stretchr/testify/mock"
78
)
89

@@ -12,8 +13,8 @@ type ISessionx interface {
1213
ExecStmt(stmt string) error
1314
}
1415

15-
/* ==================================================== */
1616
type SessionxMock struct {
17+
*gocql.Session
1718
mock.Mock
1819
}
1920

0 commit comments

Comments
 (0)