mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-08-20 05:28:58 +00:00
start working on startup tests for modules
This commit is contained in:
@@ -242,16 +242,6 @@ func TestBadDbQuery(t *testing.T) {
|
||||
wrappedPayloadModules: map[string]common.Module{},
|
||||
errorString: "db.query unable to find module with id: test",
|
||||
},
|
||||
{
|
||||
name: "module not found in context",
|
||||
payload: test.TestStruct{Data: "hello"},
|
||||
params: map[string]any{
|
||||
"module": "test",
|
||||
"query": "select * from test;",
|
||||
},
|
||||
wrappedPayloadModules: map[string]common.Module{},
|
||||
errorString: "db.query unable to find module with id: test",
|
||||
},
|
||||
{
|
||||
name: "module not a DatabseModule",
|
||||
payload: test.TestStruct{Data: "hello"},
|
||||
|
||||
Reference in New Issue
Block a user