service: fix trade test

Signed-off-by: c9s <yoanlin93@gmail.com>
This commit is contained in:
c9s 2022-06-24 19:30:17 +08:00
parent 751085f8ff
commit 7dd314703c
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -20,8 +20,6 @@ func Test_tradeService(t *testing.T) {
defer db.Close()
ctx := context.Background()
xdb := sqlx.NewDb(db.DB, "sqlite3")
service := &TradeService{DB: xdb}