Skip to content

Commit

Permalink
fix(tests): Corrects expectations for error events
Browse files Browse the repository at this point in the history
The ErrorTrace and TransactionError JSON now always include the "guid"
intrinsic attribute so these changes reflect this.
  • Loading branch information
mfulb committed Mar 5, 2024
1 parent 7eabda6 commit 6a49a13
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tests/regression/test_php_579_get_content_type.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -70,7 +76,8 @@
"error.message": "I'M COVERED IN BEES!",
"transactionName": "WebTransaction/Uri__FILE__",
"duration": "??",
"nr.transactionGuid": "??"
"nr.transactionGuid": "??",
"guid": "??"
},
{},
{
Expand Down

0 comments on commit 6a49a13

Please sign in to comment.