|
@@ 205-214 (lines=10) @@
|
| 202 |
|
$this->configuration->ensureProductionSettings(); |
| 203 |
|
} |
| 204 |
|
|
| 205 |
|
public function testEnsureProductionSettingsQueryArrayCache() |
| 206 |
|
{ |
| 207 |
|
$this->setProductionSettings(); |
| 208 |
|
$this->configuration->setQueryCacheImpl(new ArrayCache()); |
| 209 |
|
|
| 210 |
|
$this->expectException(ORMException::class); |
| 211 |
|
$this->expectExceptionMessage('Query Cache uses a non-persistent cache driver, Doctrine\Common\Cache\ArrayCache.'); |
| 212 |
|
|
| 213 |
|
$this->configuration->ensureProductionSettings(); |
| 214 |
|
} |
| 215 |
|
|
| 216 |
|
public function testEnsureProductionSettingsMetadataArrayCache() |
| 217 |
|
{ |
|
@@ 216-225 (lines=10) @@
|
| 213 |
|
$this->configuration->ensureProductionSettings(); |
| 214 |
|
} |
| 215 |
|
|
| 216 |
|
public function testEnsureProductionSettingsMetadataArrayCache() |
| 217 |
|
{ |
| 218 |
|
$this->setProductionSettings(); |
| 219 |
|
$this->configuration->setMetadataCacheImpl(new ArrayCache()); |
| 220 |
|
|
| 221 |
|
$this->expectException(ORMException::class); |
| 222 |
|
$this->expectExceptionMessage('Metadata Cache uses a non-persistent cache driver, Doctrine\Common\Cache\ArrayCache.'); |
| 223 |
|
|
| 224 |
|
$this->configuration->ensureProductionSettings(); |
| 225 |
|
} |
| 226 |
|
|
| 227 |
|
public function testEnsureProductionSettingsAutoGenerateProxyClassesAlways() |
| 228 |
|
{ |