Skip to content

Commit c84e8ca

Browse files
Merge branch '7.4' into 8.0
* 7.4: [Validator][Serializer] Make internal properties private [VarExporter] Fix serializing classes with __serialize() returning unprefixed private properties Remove direct access to internal properties cross-components remove deprecated nullable option from primary key columns [Validator] Optimize serialized metadata and cleanup tests specific fix to avoid 'outag' when inflecting 'outages' Use <info> for options in command description [ObjectMapper] Remove obsolete TODO [HttpFoundation][HttpKernel][WebProfilerBundle] Add support for the `QUERY` HTTP method [DependencyInjection] Don’t autowire excluded services Add bool return type to CustomCredentials callable parameter [Process] Enhance hasSystemCallBeenInterrupted function for non-english locale [FrameworkBundle] Make `cache:warmup` warm up read-only caches
2 parents 5320af1 + 1fd9c16 commit c84e8ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Extension/Validator/ValidatorExtensionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ public function test2Dot5ValidationApi()
4242
$this->assertCount(1, $metadata->getConstraints());
4343
$this->assertInstanceOf(FormConstraint::class, $metadata->getConstraints()[0]);
4444

45-
$this->assertSame(CascadingStrategy::NONE, $metadata->cascadingStrategy);
46-
$this->assertSame(TraversalStrategy::NONE, $metadata->traversalStrategy);
45+
$this->assertSame(CascadingStrategy::NONE, $metadata->getCascadingStrategy());
46+
$this->assertSame(TraversalStrategy::NONE, $metadata->getTraversalStrategy());
4747
$this->assertCount(0, $metadata->getPropertyMetadata('children'));
4848
}
4949
}

0 commit comments

Comments
 (0)