Update tests with context source

This commit is contained in:
Adnan Hajdarevic 2020-08-06 20:44:17 +02:00
parent 49b375f625
commit 08b351605d
2 changed files with 101 additions and 98 deletions

View file

@ -53,7 +53,7 @@ func TestStaticParams(t *testing.T) {
b := &bytes.Buffer{}
log.SetOutput(b)
_, err = handleHook(spHook, "test", &spHeaders, &map[string]interface{}{}, &map[string]interface{}{}, &[]byte{})
_, err = handleHook(spHook, "test", &spHeaders, &map[string]interface{}{}, &map[string]interface{}{}, &map[string]interface{}{}, &[]byte{})
if err != nil {
t.Fatalf("Unexpected error: %v\n", err)
}