Merged in feature/momocks (pull request #150)
Decrease Mocks * feature/nomocks * nonet * assertsaws * assert
This commit is contained in:
@@ -23,8 +23,7 @@ func TestListClientDocumentIDs(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()
|
||||
|
||||
@@ -201,8 +200,7 @@ func TestClientSync(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 +221,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -253,8 +250,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -289,8 +285,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -326,8 +321,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -369,8 +363,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -410,8 +403,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -441,8 +433,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -472,8 +463,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -517,8 +507,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -578,8 +567,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -617,8 +605,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -664,8 +651,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -706,8 +692,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -774,8 +759,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -800,8 +784,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -832,8 +815,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -864,8 +846,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -903,8 +884,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -934,8 +914,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -964,8 +943,7 @@ func TestClientSync(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()
|
||||
|
||||
@@ -1127,8 +1105,7 @@ func BenchmarkIsClientSynced(b *testing.B) {
|
||||
ctx := context.Background()
|
||||
|
||||
cfg := &serviceconfig.BaseConfig{}
|
||||
net := test.GetNetwork(b)
|
||||
test.CreateDB(b, cfg, net, &test.CreateDatabaseConfig{})
|
||||
test.CreateDB(b, cfg)
|
||||
|
||||
queries := cfg.GetDBQueries()
|
||||
|
||||
@@ -1147,8 +1124,7 @@ func BenchmarkGetDocumentExternal(b *testing.B) {
|
||||
ctx := context.Background()
|
||||
|
||||
cfg := &serviceconfig.BaseConfig{}
|
||||
net := test.GetNetwork(b)
|
||||
test.CreateDB(b, cfg, net, &test.CreateDatabaseConfig{})
|
||||
test.CreateDB(b, cfg)
|
||||
|
||||
queries := cfg.GetDBQueries()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user