We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12e8f87 commit dc8061aCopy full SHA for dc8061a
src/Propagation/ServiceName/tests/Unit/ServiceNamePropagatorTest.php
@@ -49,4 +49,11 @@ public function test_extract_empty(): void
49
$context = $this->serviceNamePropagator->extract($carrier);
50
$this->assertSame(Context::getCurrent(), $context);
51
}
52
+
53
+ public function test_no_extract(): void
54
+ {
55
+ $carrier = ['service.name' => 'foo-service'];
56
+ $context = $this->serviceNamePropagator->extract($carrier);
57
+ $this->assertSame(Context::getCurrent(), $context);
58
+ }
59
0 commit comments