Skip to content

Commit

Permalink
fix mock in AbstractConstraintValidatorTestCase (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
cardoso123inkt authored Aug 22, 2024
1 parent 65141fe commit b37053d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Symfony/AbstractConstraintValidatorTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ protected function setUp(): void
parent::setUp();
$this->violationBuilder = $this->createMock(ConstraintViolationBuilder::class);
$this->executionContext = $this->createMock(ExecutionContextInterface::class);
$this->executionContext->method('getRoot')->willReturn($this->initRootForm());

$this->validator = $this->getValidator();
$this->constraint = $this->getConstraint();
Expand Down

0 comments on commit b37053d

Please sign in to comment.