Use createMock() rather than createStub()
The CI is not using a recent enough version of PHPUnit for that
This commit is contained in:
parent
19585f2f4c
commit
f0605b8137
@ -114,7 +114,7 @@ class UniqueEntityValidatorTest extends ConstraintValidatorTestCase
|
||||
->method('hasField')
|
||||
->willReturn(true)
|
||||
;
|
||||
$refl = $this->createStub(\ReflectionProperty::class);
|
||||
$refl = $this->createMock(\ReflectionProperty::class);
|
||||
$refl
|
||||
->method('getValue')
|
||||
->willReturn(true)
|
||||
|
Reference in New Issue
Block a user