diff options
Diffstat (limited to 'internal/hexaiaction/custom_exec_test.go')
| -rw-r--r-- | internal/hexaiaction/custom_exec_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/hexaiaction/custom_exec_test.go b/internal/hexaiaction/custom_exec_test.go index 1a5b99e..11670fd 100644 --- a/internal/hexaiaction/custom_exec_test.go +++ b/internal/hexaiaction/custom_exec_test.go @@ -9,7 +9,7 @@ import ( ) func TestExecuteAction_CustomConfigured_Instruction(t *testing.T) { - cfg := appconfig.Load(nil) + cfg := appconfig.Load(context.Background(), nil) parts := InputParts{Selection: "code"} selectedCustom := &appconfig.CustomAction{ID: "x", Title: "X", Instruction: "Do it"} out, err := executeAction(context.Background(), ActionCustom, parts, &cfg, fakeDoer{"OK"}, nil, selectedCustom) @@ -19,7 +19,7 @@ func TestExecuteAction_CustomConfigured_Instruction(t *testing.T) { } func TestExecuteAction_CustomConfigured_User(t *testing.T) { - cfg := appconfig.Load(nil) + cfg := appconfig.Load(context.Background(), nil) parts := InputParts{Selection: "sel"} selectedCustom := &appconfig.CustomAction{ID: "y", Title: "Y", User: "Apply to: {{selection}}"} out, err := executeAction(context.Background(), ActionCustom, parts, &cfg, fakeDoer{"OK2"}, nil, selectedCustom) |
