Skip to content

Commit

Permalink
test: rename TestSDKIntegrationWithoutOverrideHeaderKey into TestSDKI…
Browse files Browse the repository at this point in the history
…ntegrationWithoutWithTraceIDResponseHeader;
  • Loading branch information
riandyrn committed Aug 3, 2024
1 parent aae5b46 commit 50eae5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cases/sdk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ func TestSDKIntegrationWithTraceIDResponseHeader(t *testing.T) {
}
}

func TestSDKIntegrationWithoutOverrideHeaderKey(t *testing.T) {
func TestSDKIntegrationWithoutWithTraceIDResponseHeader(t *testing.T) {
router, sr := newSDKTestRouter("foobar", true)

router.HandleFunc("/user/{id:[0-9]+}", ok)
Expand All @@ -480,7 +480,7 @@ func TestSDKIntegrationWithoutOverrideHeaderKey(t *testing.T) {
},
})

require.Empty(t, w.Header().Get("X-Trace-ID"))
require.Empty(t, w.Header().Get(otelchi.DefaultTraceResponseHeaderKey))
}

func TestWithPublicEndpoint(t *testing.T) {
Expand Down

0 comments on commit 50eae5c

Please sign in to comment.