8000 - · symfony/symfony@e93ad50 · GitHub
[go: up one dir, main page]

Skip to content

Commit e93ad50

Browse files
-
1 parent 6f86c62 commit e93ad50

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/Validator/Tests/Constraints/FileValidatorTestCase.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,11 @@ public function testMaxSizeNotExceeded($bytesWritten, $limit)
232232

233233
public function testInvalidMaxSize()
234234
{
235+
$this->expectException(ConstraintDefinitionException::class);
235236
$constraint = new File([
236237
'maxSize' => '1abc',
237238
]);
238239

239-
$this->expectException(ConstraintDefinitionException::class);
240-
241240
$this->validator->validate($this->path, $constraint);
242241
}
243242

0 commit comments

Comments
 (0)
0