Skip to content

Commit 75a6f12

Browse files
committed
test: tokenLock queries
Signed-off-by: ADIR <adir@il.ibm.com>
1 parent 700936d commit 75a6f12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

token/services/db/sql/common/tokenlock_test_utils.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import (
1616
"github.com/onsi/gomega"
1717
)
1818

19-
type storeConstructor func(*sql.DB) *TokenLockStore
19+
type tokenLockStoreConstructor func(*sql.DB) *TokenLockStore
2020

21-
func TestLock(t *testing.T, store storeConstructor) {
21+
func TestLock(t *testing.T, store tokenLockStoreConstructor) {
2222
gomega.RegisterTestingT(t)
2323
db, mockDB, err := sqlmock.New()
2424
gomega.Expect(err).ToNot(gomega.HaveOccurred())
@@ -38,7 +38,7 @@ func TestLock(t *testing.T, store storeConstructor) {
3838
gomega.Expect(err).ToNot(gomega.HaveOccurred())
3939
}
4040

41-
func TestUnlockByTxID(t *testing.T, store storeConstructor) {
41+
func TestUnlockByTxID(t *testing.T, store tokenLockStoreConstructor) {
4242
gomega.RegisterTestingT(t)
4343
db, mockDB, err := sqlmock.New()
4444
gomega.Expect(err).ToNot(gomega.HaveOccurred())

0 commit comments

Comments
 (0)