Skip to content

Commit ba489a5

Browse files
committed
[Validator] fix tests
1 parent 0ab6766 commit ba489a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test/ConstraintValidatorTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ protected function createContext()
115115
$validator->expects($this->any())
116116
->method('inContext')
117117
->with($context)
118-
->willReturn($this->createMock(AssertingContextualValidator::class));
118+
->willReturn($this->getMockBuilder(AssertingContextualValidator::class)->setMethods(null)->getMock());
119119

120120
return $context;
121121
}

0 commit comments

Comments
 (0)