moving the memory_limit to phpunit.xml config file

This commit is contained in:
Julien Fastré 2015-10-12 21:30:31 +02:00
parent dda6f65fc2
commit 4e00af3e48
2 changed files with 1 additions and 2 deletions

View File

@ -22,12 +22,10 @@
namespace Chill\PersonBundle\Tests\Controller;
ini_set('memory_limit', '-1');
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Chill\PersonBundle\Entity\AccompanyingPeriod;
use Chill\PersonBundle\Entity\Person;
use Chill\PersonBundle\Entity\AccompanyingPeriod\ClosingMotive;
/**
* Test the creation or deletion of accompanying periods

View File

@ -20,5 +20,6 @@
<php>
<server name="KERNEL_DIR" value="/Tests/Fixtures/App/app/" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
<ini name="memory_limit" value="-1" />
</php>
</phpunit>