mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-07 02:20:24 +08:00
19 lines
306 B
Go
19 lines
306 B
Go
package accounts
|
|
|
|
import (
|
|
_ "github.com/go-sql-driver/mysql"
|
|
_ "github.com/iwind/TeaGo/bootstrap"
|
|
"github.com/iwind/TeaGo/dbs"
|
|
"testing"
|
|
)
|
|
|
|
func TestUserAccountDAO_PayBills(t *testing.T) {
|
|
dbs.NotifyReady()
|
|
|
|
err := NewUserAccountDAO().PayBills(nil)
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
t.Log("ok")
|
|
}
|