From 158939e8feed5de5e7663e81d124cd7617d880cf Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sat, 27 Sep 2014 23:11:35 +0200 Subject: [PATCH] [Validator] fixed component standalone tests --- .../Tests/Mapping/Loader/AnnotationLoaderTest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Symfony/Component/Validator/Tests/Mapping/Loader/AnnotationLoaderTest.php b/src/Symfony/Component/Validator/Tests/Mapping/Loader/AnnotationLoaderTest.php index 0d255b8fca..c8208ce9e3 100644 --- a/src/Symfony/Component/Validator/Tests/Mapping/Loader/AnnotationLoaderTest.php +++ b/src/Symfony/Component/Validator/Tests/Mapping/Loader/AnnotationLoaderTest.php @@ -22,6 +22,16 @@ use Symfony\Component\Validator\Mapping\ClassMetadata; use Symfony\Component\Validator\Mapping\Loader\AnnotationLoader; use Symfony\Component\Validator\Tests\Fixtures\ConstraintA; +require_once __DIR__.'/../../../Constraints/All.php'; +require_once __DIR__.'/../../../Constraints/Callback.php'; +require_once __DIR__.'/../../../Constraints/Choice.php'; +require_once __DIR__.'/../../../Constraints/Collection.php'; +require_once __DIR__.'/../../../Constraints/GroupSequence.php'; +require_once __DIR__.'/../../../Constraints/GroupSequenceProvider.php'; +require_once __DIR__.'/../../../Constraints/NotNull.php'; +require_once __DIR__.'/../../../Constraints/Range.php'; +require_once __DIR__.'/../../Fixtures/ConstraintA.php'; + class AnnotationLoaderTest extends \PHPUnit_Framework_TestCase { public function testLoadClassMetadataReturnsTrueIfSuccessful()