1
0
mirror of synced 2025-03-21 15:33:51 +03:00

DDC-742 - Flush Memcache, otherwise fail.

This commit is contained in:
Benjamin Eberlei 2012-01-18 21:31:49 +01:00
parent d39760ba49
commit e0fc09994c

View File

@ -8,6 +8,9 @@ require_once __DIR__ . '/../../../TestInit.php';
class DDC742Test extends \Doctrine\Tests\OrmFunctionalTestCase
{
private $userCm;
private $commentCm;
protected function setUp()
{
parent::setUp();
@ -15,6 +18,7 @@ class DDC742Test extends \Doctrine\Tests\OrmFunctionalTestCase
if (\extension_loaded('memcache')) {
$memcache = new \Memcache();
$memcache->addServer('localhost');
$memcache->flush();
$cacheDriver = new \Doctrine\Common\Cache\MemcacheCache();
$cacheDriver->setMemcache($memcache);
@ -123,4 +127,4 @@ class DDC742Comment
* @var string
*/
public $content;
}
}