Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c39cb1b

Browse filesBrowse files
committed
use constant in tests to be clear
1 parent 3461cb8 commit c39cb1b
Copy full SHA for c39cb1b

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Tests/Transport/Serialization/Normalizer/FlattenExceptionNormalizerTest.php
+2-1Lines 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 <skalpa@zetareticuli.org>
@@ -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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.