Skip to content

Commit

Permalink
Fix the test for the context.ListVariables method
Browse files Browse the repository at this point in the history
  • Loading branch information
bobthebuilderberlin committed May 27, 2022
1 parent 4fed999 commit e86d5a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func Test_contexts_ListVariables(t *testing.T) {

contextID := "ctx1"

mux.HandleFunc(fmt.Sprintf("/context/%s", contextID), func(w http.ResponseWriter, r *http.Request) {
mux.HandleFunc(fmt.Sprintf("/context/%s/environment-variable", contextID), func(w http.ResponseWriter, r *http.Request) {
testMethod(t, r, "GET")
testHeader(t, r, "Accept", "application/json")
testHeader(t, r, "Circle-Token", client.token)
Expand Down

0 comments on commit e86d5a2

Please sign in to comment.