Skip to content

Commit efd8799

Browse files
committed
fix(agent): test name is arg 1 not 3
1 parent 7c3f818 commit efd8799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/tests/test_lib_aws_sdk_php.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ NR_PHP_WRAPPER(aws_dynamodb_set_params_wrapper) {
7777
* argument 1 is is used to pass in the test name
7878
*/
7979

80-
test_name = nr_php_get_user_func_arg(3, NR_EXECUTE_ORIG_ARGS);
80+
test_name = nr_php_get_user_func_arg(1, NR_EXECUTE_ORIG_ARGS);
8181

8282
/*
8383
* argument 3 is is used to pass in the expected value

0 commit comments

Comments
 (0)