Skip to content

Commit 53181d7

Browse files
Fix for test failing for symfony 6.4 (#342)
1 parent 60b423c commit 53181d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"symfony/options-resolver": "^6.3",
3232
"symfony/property-access": "^6.3",
3333
"symfony/property-info": "^6.3",
34-
"symfony/serializer": "^6.3"
34+
"symfony/serializer": "^6.3.11"
3535
},
3636
"require-dev": {
3737
"dms/phpunit-arraysubset-asserts": "^0.4.0",

tests/Api/Monetization/Denormalizer/ReportCriteriaDenormalizerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
class ReportCriteriaDenormalizerTest extends TestCase
3333
{
34-
/** @var \Apigee\Edge\Api\Monetization\Denormalizer\ReportCriteriaDenormalizer */
34+
/** @var Apigee\Edge\Api\Monetization\Denormalizer\ReportCriteriaDenormalizer */
3535
protected static $denormalizer;
3636

3737
/**
@@ -46,7 +46,7 @@ public static function setUpBeforeClass(): void
4646

4747
public function testDenormalizeWithAbtractClassNoContext(): void
4848
{
49-
$this->expectException('\Error');
49+
$this->expectException('\Symfony\Component\Serializer\Exception\NotNormalizableValueException');
5050

5151
static::$denormalizer->denormalize((object) [], AbstractCriteria::class, 'json');
5252
}

0 commit comments

Comments
 (0)