1
0
mirror of synced 2025-01-08 10:07:10 +03:00

DDC-3078 - removing tests for cache class setter/getter on cache configuration

This commit is contained in:
Marco Pivetta 2014-04-10 03:13:25 +02:00 committed by fabios
parent 68f489ecbb
commit cd0f94dd6c

View File

@ -27,18 +27,6 @@ class CacheConfigTest extends DoctrineTestCase
$this->config = new CacheConfiguration();
}
public function testSetGetCacheClassName()
{
$mockClass = get_class($this->getMock('Doctrine\ORM\Cache'));
$this->assertEquals('Doctrine\ORM\Cache\DefaultCache', $this->config->getCacheClassName());
$this->config->setCacheClassName($mockClass);
$this->assertEquals($mockClass, $this->config->getCacheClassName());
$this->setExpectedException('Doctrine\ORM\ORMException');
$this->config->setCacheClassName(__CLASS__);
}
/**
* @covers \Doctrine\ORM\Cache\CacheConfiguration::getCacheInstantiator
*/