Skip to content

Commit 26af0f4

Browse files
authored
chore: makes constants private in tests. (#218)
1 parent be738e5 commit 26af0f4

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

tests/Unit/Propagation/B3Test.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@
1414

1515
final class B3Test extends TestCase
1616
{
17-
public const TRACE_ID_NAME = 'x-b3-traceid';
18-
public const SPAN_ID_NAME = 'x-b3-spanid';
19-
public const PARENT_SPAN_ID_NAME = 'x-b3-parentspanid';
20-
public const SAMPLED_NAME = 'x-b3-sampled';
21-
public const FLAGS_NAME = 'x-b3-flags';
22-
public const SINGLE_VALUE_NAME = 'b3';
23-
24-
public const TEST_TRACE_ID = 'bd7a977555f6b982';
25-
public const TEST_PARENT_ID = 'bd7a977555f6b982';
26-
public const TEST_SPAN_ID = 'be2d01e33cc78d97';
27-
public const TEST_SAMPLE = true;
28-
public const TEST_DEBUG = false;
29-
public const TEST_SINGLE_HEADER = 'bd7a977555f6b982-be2d01e33cc78d97-1-bd7a977555f6b982';
30-
public const TEST_SINGLE_HEADER_NO_PARENT = 'bd7a977555f6b982-be2d01e33cc78d97-1';
17+
private const TRACE_ID_NAME = 'x-b3-traceid';
18+
private const SPAN_ID_NAME = 'x-b3-spanid';
19+
private const PARENT_SPAN_ID_NAME = 'x-b3-parentspanid';
20+
private const SAMPLED_NAME = 'x-b3-sampled';
21+
private const FLAGS_NAME = 'x-b3-flags';
22+
private const SINGLE_VALUE_NAME = 'b3';
23+
24+
private const TEST_TRACE_ID = 'bd7a977555f6b982';
25+
private const TEST_PARENT_ID = 'bd7a977555f6b982';
26+
private const TEST_SPAN_ID = 'be2d01e33cc78d97';
27+
private const TEST_SAMPLE = true;
28+
private const TEST_DEBUG = false;
29+
private const TEST_SINGLE_HEADER = 'bd7a977555f6b982-be2d01e33cc78d97-1-bd7a977555f6b982';
30+
private const TEST_SINGLE_HEADER_NO_PARENT = 'bd7a977555f6b982-be2d01e33cc78d97-1';
3131

3232
public function testKeysIncludesAllByDefault()
3333
{

0 commit comments

Comments
 (0)