Skip to content

Commit 63ab962

Browse files
minor #41659 [Serializer] Fix call to expectExceptionMessage() (derrabus)
This PR was merged into the 5.3 branch. Discussion ---------- [Serializer] Fix call to `expectExceptionMessage()` | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A Follows #39675 Commits ------- 29621cd [Serializer] Fix call to expectExceptionMessage()
2 parents 74de6ec + 29621cd commit 63ab962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Serializer/Tests/Normalizer/UidNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function testNormalizeWithNormalizationFormatPassedInConstructor()
162162
public function testNormalizeWithNormalizationFormatNotValid()
163163
{
164164
$this->expectException(LogicException::class);
165-
$this->expectDeprecationMessage('The "ccc" format is not valid.');
165+
$this->expectExceptionMessage('The "ccc" format is not valid.');
166166

167167
$this->normalizer->normalize(new Ulid(), null, [
168168
'uid_normalization_format' => 'ccc',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy