Merged in feature/momocks (pull request #150)

Decrease Mocks

* feature/nomocks

* nonet

* assertsaws

* assert
This commit is contained in:
Michael McGuinness
2025-05-23 00:20:01 +00:00
parent 36ff8096f3
commit 33d68b7e04
42 changed files with 617 additions and 650 deletions
+9 -18
View File
@@ -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()