File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Instrumentation/PDO/tests/Unit Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,21 +11,21 @@ class SqlCommentPropagatorTest extends TestCase
1111{
1212 public function testIsPrependReturnsTrue ()
1313 {
14- $ _SERVER ['OTEL_PHP_INSTRUMENTATION_PDO_CONTEXT_PROPAGATION_PREPEND ' ] = true ;
14+ $ _SERVER ['OTEL_PHP_INSTRUMENTATION_PDO_SQL_COMMENTER_PREPEND ' ] = true ;
1515 $ result = SqlCommentPropagator::isPrepend ();
1616 $ this ->assertTrue ($ result );
1717 }
1818
1919 public function testIsPrependReturnsFalse ()
2020 {
21- $ _SERVER ['OTEL_PHP_INSTRUMENTATION_PDO_CONTEXT_PROPAGATION_PREPEND ' ] = false ;
21+ $ _SERVER ['OTEL_PHP_INSTRUMENTATION_PDO_SQL_COMMENTER_PREPEND ' ] = false ;
2222 $ result = SqlCommentPropagator::isPrepend ();
2323 $ this ->assertFalse ($ result );
2424 }
2525
2626 public function testInjectPrepend ()
2727 {
28- $ _SERVER ['OTEL_PHP_INSTRUMENTATION_PDO_CONTEXT_PROPAGATION_PREPEND ' ] = true ;
28+ $ _SERVER ['OTEL_PHP_INSTRUMENTATION_PDO_SQL_COMMENTER_PREPEND ' ] = true ;
2929 $ comments = [
3030 'key1 ' => 'value1 ' ,
3131 'key2 ' => 'value2 ' ,
@@ -38,7 +38,7 @@ public function testInjectPrepend()
3838
3939 public function testInjectAppend ()
4040 {
41- $ _SERVER ['OTEL_PHP_INSTRUMENTATION_PDO_CONTEXT_PROPAGATION_PREPEND ' ] = false ;
41+ $ _SERVER ['OTEL_PHP_INSTRUMENTATION_PDO_SQL_COMMENTER_PREPEND ' ] = false ;
4242 $ comments = [
4343 'key1 ' => 'value1 ' ,
4444 'key2 ' => 'value2 ' ,
You can’t perform that action at this time.
0 commit comments