From 6a49a1368913fa271cef187f70bf2bf7dcf57f73 Mon Sep 17 00:00:00 2001 From: Michael Fulbright Date: Tue, 5 Mar 2024 15:18:19 -0500 Subject: [PATCH] fix(tests): Corrects expectations for error events The ErrorTrace and TransactionError JSON now always include the "guid" intrinsic attribute so these changes reflect this. --- tests/regression/test_php_579_get_content_type.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/regression/test_php_579_get_content_type.php b/tests/regression/test_php_579_get_content_type.php index 61f641070..628f90f48 100644 --- a/tests/regression/test_php_579_get_content_type.php +++ b/tests/regression/test_php_579_get_content_type.php @@ -45,7 +45,13 @@ "request.method": "GET", "response.headers.contentType": "application/json" }, - "intrinsics": "??", + "intrinsics": { + "totalTime": "??", + "cpu_time": "??", + "cpu_user_time": "??", + "cpu_sys_time": "??", + "guid": "??" + }, "request_uri": "__FILE__" }, "?? transaction ID" @@ -70,7 +76,8 @@ "error.message": "I'M COVERED IN BEES!", "transactionName": "WebTransaction/Uri__FILE__", "duration": "??", - "nr.transactionGuid": "??" + "nr.transactionGuid": "??", + "guid": "??" }, {}, {