|
@@ 175-184 (lines=10) @@
|
| 172 |
|
$this->configuration->ensureProductionSettings(); |
| 173 |
|
} |
| 174 |
|
|
| 175 |
|
public function testEnsureProductionSettingsQueryArrayCache() |
| 176 |
|
{ |
| 177 |
|
$this->setProductionSettings(); |
| 178 |
|
$this->configuration->setQueryCacheImpl(new ArrayCache()); |
| 179 |
|
|
| 180 |
|
$this->expectException(ORMException::class); |
| 181 |
|
$this->expectExceptionMessage('Query Cache uses a non-persistent cache driver, Doctrine\Common\Cache\ArrayCache.'); |
| 182 |
|
|
| 183 |
|
$this->configuration->ensureProductionSettings(); |
| 184 |
|
} |
| 185 |
|
|
| 186 |
|
public function testEnsureProductionSettingsMetadataArrayCache() |
| 187 |
|
{ |
|
@@ 186-195 (lines=10) @@
|
| 183 |
|
$this->configuration->ensureProductionSettings(); |
| 184 |
|
} |
| 185 |
|
|
| 186 |
|
public function testEnsureProductionSettingsMetadataArrayCache() |
| 187 |
|
{ |
| 188 |
|
$this->setProductionSettings(); |
| 189 |
|
$this->configuration->setMetadataCacheImpl(new ArrayCache()); |
| 190 |
|
|
| 191 |
|
$this->expectException(ORMException::class); |
| 192 |
|
$this->expectExceptionMessage('Metadata Cache uses a non-persistent cache driver, Doctrine\Common\Cache\ArrayCache.'); |
| 193 |
|
|
| 194 |
|
$this->configuration->ensureProductionSettings(); |
| 195 |
|
} |
| 196 |
|
|
| 197 |
|
public function testEnsureProductionSettingsAutoGenerateProxyClassesEval() |
| 198 |
|
{ |