Skip to content

Commit

Permalink
chore: cHash -> chash
Browse files Browse the repository at this point in the history
  • Loading branch information
idbeta committed Dec 1, 2020
1 parent cd082c1 commit f09efa1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/test/e2e/upstream_chash_query_string_arg_xxx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ import (
"github.com/stretchr/testify/assert"
)

func TestUpstream_cHash_query_string(t *testing.T) {
func TestUpstream_chash_query_string(t *testing.T) {
tests := []HttpTestCase{
{
caseDesc: "create cHash upstream with key (query_string)",
caseDesc: "create chash upstream with key (query_string)",
Object: ManagerApiExpect(t),
Method: http.MethodPut,
Path: "/apisix/admin/upstreams/1",
Expand Down Expand Up @@ -100,10 +100,10 @@ func TestUpstream_cHash_query_string(t *testing.T) {
assert.Equal(t, 5, res["1982"])
}

func TestUpstream_cHash_arg_xxx(t *testing.T) {
func TestUpstream_chash_arg_xxx(t *testing.T) {
tests := []HttpTestCase{
{
caseDesc: "create cHash upstream with key (arg_xxx)",
caseDesc: "create chash upstream with key (arg_xxx)",
Object: ManagerApiExpect(t),
Method: http.MethodPut,
Path: "/apisix/admin/upstreams/1",
Expand Down

0 comments on commit f09efa1

Please sign in to comment.