Release 2.12 (#4609)
This commit is contained in:
@@ -33,14 +33,14 @@ class TimesheetValidatorTest extends ConstraintValidatorTestCase
|
||||
return new TimesheetValidator([]);
|
||||
}
|
||||
|
||||
public function testConstraintIsInvalid()
|
||||
public function testConstraintIsInvalid(): void
|
||||
{
|
||||
$this->expectException(UnexpectedTypeException::class);
|
||||
|
||||
$this->validator->validate(new Timesheet(), new NotBlank());
|
||||
}
|
||||
|
||||
public function testInvalidValueThrowsException()
|
||||
public function testInvalidValueThrowsException(): void
|
||||
{
|
||||
$this->expectException(UnexpectedTypeException::class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user