add convenience method to pull params from config

This commit is contained in:
Joel Wetzell
2026-03-01 14:57:19 -06:00
parent 183182e6cd
commit c298f63ffc
69 changed files with 591 additions and 1081 deletions

View File

@@ -131,7 +131,7 @@ func TestBadStringCreate(t *testing.T) {
name: "no template param",
payload: "hello",
params: map[string]any{},
errorString: "string.create requires a template parameter",
errorString: "string.create template error: not found",
},
{
name: "non string template",
@@ -139,7 +139,7 @@ func TestBadStringCreate(t *testing.T) {
params: map[string]any{
"template": 1,
},
errorString: "string.create template must be a string",
errorString: "string.create template error: not a string",
},
{
name: "invalid template",