File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 44
55namespace OpenTelemetry \Contrib \Instrumentation \PDO ;
66
7- class SqlServerPropagator implements SqlPropagatorInterface
7+ class ContextInfoPropagator implements SqlPropagatorInterface
88{
99 public static function inject (string $ query , array $ comments ): string
1010 {
Original file line number Diff line number Diff line change 44
55namespace OpenTelemetry \Tests \Instrumentation \PDO \tests \Unit ;
66
7- use OpenTelemetry \Contrib \Instrumentation \PDO \SqlServerPropagator ;
7+ use OpenTelemetry \Contrib \Instrumentation \PDO \ContextInfoPropagator ;
88use PHPUnit \Framework \TestCase ;
99
10- class SqlServerPropagatorTest extends TestCase
10+ class ContextInfoPropagatorTest extends TestCase
1111{
1212 public function testInject ()
1313 {
@@ -17,7 +17,7 @@ public function testInject()
1717 'key3 ' => 'value3 ' ,
1818 ];
1919 $ query = 'SELECT 1; ' ;
20- $ result = SqlServerPropagator ::inject ($ query , $ comments );
20+ $ result = ContextInfoPropagator ::inject ($ query , $ comments );
2121 $ this ->assertEquals ('SELECT 1; ' , $ result );
2222 }
2323
You can’t perform that action at this time.
0 commit comments