@@ -28,7 +28,7 @@ func TestSendCustomAppMetrics(t *testing.T) {
2828 "key4_numeric_string" : "1.6" ,
2929 },
3030 }
31- customMetricsData , _ := json .Marshal (data )
31+ customAppMetricsData , _ := json .Marshal (data )
3232 license := & v1beta1.License {
3333 Spec : v1beta1.LicenseSpec {
3434 LicenseID : "sdk-license-customer-0-license" ,
@@ -40,14 +40,14 @@ func TestSendCustomAppMetrics(t *testing.T) {
4040
4141 clientWriter := httptest .NewRecorder ()
4242 clientRequest := & http.Request {
43- Body : io .NopCloser (bytes .NewBuffer (customMetricsData )),
43+ Body : io .NopCloser (bytes .NewBuffer (customAppMetricsData )),
4444 }
4545
4646 pactInteraction := func () {
4747 pact .
4848 AddInteraction ().
49- Given ("Send valid custom metrics" ).
50- UponReceiving ("A request to send custom metrics" ).
49+ Given ("Send valid custom app metrics" ).
50+ UponReceiving ("A request to send custom app metrics" ).
5151 WithRequest (dsl.Request {
5252 Method : http .MethodPost ,
5353 Headers : dsl.MapMatcher {
@@ -63,7 +63,7 @@ func TestSendCustomAppMetrics(t *testing.T) {
6363 Status : http .StatusOK ,
6464 })
6565 }
66- t .Run ("Send valid custom metrics" , func (t * testing.T ) {
66+ t .Run ("Send valid custom app metrics" , func (t * testing.T ) {
6767 pactInteraction ()
6868
6969 storeOptions := store.InitInMemoryStoreOptions {
0 commit comments