update changelog

This commit is contained in:
Ming Deng
2021-01-08 22:54:39 +08:00
parent 7d2c5486be
commit 0cf3b035eb
4 changed files with 21 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ import (
"net/http"
"net/http/httptest"
"testing"
"time"
"github.com/stretchr/testify/assert"
@@ -37,4 +38,5 @@ func TestFilterChain(t *testing.T) {
ctx.Input.SetData("RouterPattern", "my-route")
filter(ctx)
assert.True(t, ctx.Input.GetData("invocation").(bool))
time.Sleep(1 * time.Second)
}