Adopt ConfigKit for pipeline loading
This commit is contained in:
@@ -23,12 +23,12 @@ func TestNotificationConfigSupportsOnlyNoopMode(t *testing.T) {
|
||||
{
|
||||
name: "backend is rejected",
|
||||
section: "notification:\n backend: email\n",
|
||||
wantLoad: "field backend not found",
|
||||
wantLoad: "decode.unknown_field",
|
||||
},
|
||||
{
|
||||
name: "recipient is rejected",
|
||||
section: "notification:\n recipient: party@example.com\n",
|
||||
wantLoad: "field recipient not found",
|
||||
wantLoad: "decode.unknown_field",
|
||||
},
|
||||
{
|
||||
name: "provider mode is rejected",
|
||||
|
||||
Reference in New Issue
Block a user