Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c39cb1b

Browse files
committed
use constant in tests to be clear
1 parent 3461cb8 commit c39cb1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/Messenger/Tests/Transport/Serialization/Normalizer/FlattenExceptionNormalizerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Component\ErrorHandler\Exception\FlattenException;
1616
use Symfony\Component\Messenger\Transport\Serialization\Normalizer\FlattenExceptionNormalizer;
17+
use Symfony\Component\Messenger\Transport\Serialization\Serializer;
1718

1819
/**
1920
* @author Pascal Luna <[email protected]>
@@ -129,7 +130,7 @@ public function testDenormalizeValidData()
129130
private function getMessengerContext(): array
130131
{
131132
return [
132-
'MESSENGER_SERIALIZATION' => true,
133+
Serializer::MESSENGER_SERIALIZATION_CONTEXT => true,
133134
];
134135
}
135136
}

0 commit comments

Comments
 (0)