Skip to content

Commit

Permalink
[Validator] fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Aug 17, 2020
1 parent 0ab6766 commit ba489a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Test/ConstraintValidatorTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected function createContext()
$validator->expects($this->any())
->method('inContext')
->with($context)
->willReturn($this->createMock(AssertingContextualValidator::class));
->willReturn($this->getMockBuilder(AssertingContextualValidator::class)->setMethods(null)->getMock());

return $context;
}
Expand Down

0 comments on commit ba489a5

Please sign in to comment.