我有头等舱:
namespace Tests\AppBundle\EntitiesConstraints;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Symfony\Component\Validator\Validation;
class EntityTest extends WebTestCase
{
...}
和第二个:
namespace Tests\AppBundle\EntitiesConstraints;
use AppBundle\Entity\AnnonceSuperClasse;
use Symfony\Component\Validator\Validation;
use Tests\AppBundle\EntitiesConstraints\EntityTest;
class AnnoncesAssertTest extends EntityTest
{
...}
问题是,显然,我无法扩展EntityTest。
我收到此消息:
严重错误:类'Tests \ AppBundle \ EntitiesConstraints \ EntityTest' 找不到 C:\ wamp \ www \ projets \ Tabadoul \ tests \ EntitiesConstraints \ AnnoncesAssertTest.php 在第9行
提前感谢您的帮助!