Merged in feature/momocks (pull request #150)
Decrease Mocks * feature/nomocks * nonet * assertsaws * assert
This commit is contained in:
@@ -21,8 +21,7 @@ func TestDocument(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
cfg := &serviceconfig.BaseConfig{}
|
||||
net := test.GetNetwork(t)
|
||||
test.CreateDB(t, cfg, net, &test.CreateDatabaseConfig{})
|
||||
test.CreateDB(t, cfg)
|
||||
|
||||
queries := cfg.GetDBQueries()
|
||||
|
||||
@@ -42,8 +41,7 @@ func TestDocument(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
cfg := &serviceconfig.BaseConfig{}
|
||||
net := test.GetNetwork(t)
|
||||
test.CreateDB(t, cfg, net, &test.CreateDatabaseConfig{})
|
||||
test.CreateDB(t, cfg)
|
||||
|
||||
queries := cfg.GetDBQueries()
|
||||
|
||||
@@ -73,8 +71,7 @@ func TestDocument(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
cfg := &serviceconfig.BaseConfig{}
|
||||
net := test.GetNetwork(t)
|
||||
test.CreateDB(t, cfg, net, &test.CreateDatabaseConfig{})
|
||||
test.CreateDB(t, cfg)
|
||||
|
||||
queries := cfg.GetDBQueries()
|
||||
|
||||
@@ -109,8 +106,7 @@ func TestDocument(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
cfg := &serviceconfig.BaseConfig{}
|
||||
net := test.GetNetwork(t)
|
||||
test.CreateDB(t, cfg, net, &test.CreateDatabaseConfig{})
|
||||
test.CreateDB(t, cfg)
|
||||
|
||||
queries := cfg.GetDBQueries()
|
||||
|
||||
@@ -156,8 +152,7 @@ func TestDocument(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
cfg := &serviceconfig.BaseConfig{}
|
||||
net := test.GetNetwork(t)
|
||||
test.CreateDB(t, cfg, net, &test.CreateDatabaseConfig{})
|
||||
test.CreateDB(t, cfg)
|
||||
|
||||
queries := cfg.GetDBQueries()
|
||||
|
||||
@@ -189,8 +184,7 @@ func TestDocument(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
cfg := &serviceconfig.BaseConfig{}
|
||||
net := test.GetNetwork(t)
|
||||
test.CreateDB(t, cfg, net, &test.CreateDatabaseConfig{})
|
||||
test.CreateDB(t, cfg)
|
||||
|
||||
queries := cfg.GetDBQueries()
|
||||
|
||||
@@ -223,8 +217,7 @@ func TestDocument(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
cfg := &serviceconfig.BaseConfig{}
|
||||
net := test.GetNetwork(t)
|
||||
test.CreateDB(t, cfg, net, &test.CreateDatabaseConfig{})
|
||||
test.CreateDB(t, cfg)
|
||||
|
||||
queries := cfg.GetDBQueries()
|
||||
|
||||
@@ -255,8 +248,7 @@ func TestDocument(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
cfg := &serviceconfig.BaseConfig{}
|
||||
net := test.GetNetwork(t)
|
||||
test.CreateDB(t, cfg, net, &test.CreateDatabaseConfig{})
|
||||
test.CreateDB(t, cfg)
|
||||
|
||||
queries := cfg.GetDBQueries()
|
||||
|
||||
@@ -297,8 +289,7 @@ func TestDocument(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
cfg := &serviceconfig.BaseConfig{}
|
||||
net := test.GetNetwork(t)
|
||||
test.CreateDB(t, cfg, net, &test.CreateDatabaseConfig{})
|
||||
test.CreateDB(t, cfg)
|
||||
|
||||
queries := cfg.GetDBQueries()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user