8000 Unit test fixes · alexpott/symfony@3c11fa5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c11fa5

Browse files
fejesefabpot
authored andcommitted
Unit test fixes
1 parent 679df19 commit 3c11fa5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ public function testFatalErrorHandlers($error, $class, $translatedMessage)
212212
$this->assertSame($error['type'], $exceptionHandler->e->getSeverity());
213213
$this->assertSame($error['file'], $exceptionHandler->e->getFile());
214214
$this->assertSame($error['line'], $exceptionHandler->e->getLine());
215+
restore_error_handler();
215216
}
216217

217218
public function provideFatalErrorHandlersData()

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use Symfony\Component\Validator\Constraints\Image;
1515
use Symfony\Component\Validator\Constraints\ImageValidator;
16+
use Symfony\Component\Validator\Validation;
1617

1718
class ImageValidatorTest extends AbstractConstraintValidatorTest
1819
{

0 commit comments

Comments
 (0)
0