Skip to content

Commit 23a7e30

Browse files
author
smiletan
committed
mysql test rename function
1 parent fb4b5c9 commit 23a7e30

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pkg/common/utils/mysql/mysql_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ package mysql
2020
import (
2121
_ "crypto/tls"
2222
"database/sql/driver"
23-
"github.com/DATA-DOG/go-sqlmock"
24-
"github.com/jmoiron/sqlx"
2523
"strconv"
2624
"testing"
25+
26+
"github.com/DATA-DOG/go-sqlmock"
27+
"github.com/jmoiron/sqlx"
2728
)
2829

2930
func Test_ShowFrontends(t *testing.T) {
@@ -98,7 +99,7 @@ func TestDB_GetBackendsByCGName(t *testing.T) {
9899
}
99100
defer db.Close()
100101

101-
db.GetBackendsByCGName("test")
102+
db.GetBackendsByComputeGroupId("test")
102103
}
103104

104105
func Test_DecommissionBE(t *testing.T) {

0 commit comments

Comments
 (0)