Created
March 13, 2019 16:14
-
-
Save xabbuh/3e67f75c9de4ff7fa6861971641b5793 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Symfony\Component\Validator\Validation; | |
class TestedTypeTest extends TypeTestCase | |
{ | |
private $validator; | |
protected function getExtensions() | |
{ | |
$validator = Validation::createValidator(); | |
return [ | |
new ValidatorExtension($this->validator), | |
]; | |
} | |
// ... your tests | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment