|
@@ -16,7 +16,6 @@ var configFile = flag.String("f", "etc/i2bill-api.yaml", "the config file")
|
|
|
var c config.Config
|
|
var c config.Config
|
|
|
var ctx *svc.ServiceContext
|
|
var ctx *svc.ServiceContext
|
|
|
|
|
|
|
|
-// TestMain defined
|
|
|
|
|
func TestMain(m *testing.M) {
|
|
func TestMain(m *testing.M) {
|
|
|
conf.MustLoad(*configFile, &c)
|
|
conf.MustLoad(*configFile, &c)
|
|
|
ctx = svc.NewServiceContext(c)
|
|
ctx = svc.NewServiceContext(c)
|