1
0
mirror of synced 2025-02-10 01:09:26 +03:00
This commit is contained in:
Luís Otávio Cobucci Oblonczyk 2016-06-05 12:12:27 +02:00 committed by Luís Cobucci
parent 1c2b7c9685
commit 2c1818d513
2 changed files with 3 additions and 3 deletions

View File

@ -217,8 +217,8 @@ class DefaultCacheFactory implements CacheFactory
if ( ! $this->fileLockRegionDirectory) { if ( ! $this->fileLockRegionDirectory) {
throw new \LogicException( throw new \LogicException(
'If you what to use a "READ_WRITE" cache an implementation of "Doctrine\ORM\Cache\ConcurrentRegion" is required, ' . 'If you want to use a "READ_WRITE" cache an implementation of "Doctrine\ORM\Cache\ConcurrentRegion" is required, ' .
'The default implementation provided by doctrine is "Doctrine\ORM\Cache\Region\FileLockRegion" if you what to use it please provide a valid directory, DefaultCacheFactory#setFileLockRegionDirectory(). ' 'The default implementation provided by doctrine is "Doctrine\ORM\Cache\Region\FileLockRegion" if you want to use it please provide a valid directory, DefaultCacheFactory#setFileLockRegionDirectory(). '
); );
} }

View File

@ -252,7 +252,7 @@ class DefaultCacheFactoryTest extends OrmTestCase
/** /**
* @expectedException LogicException * @expectedException LogicException
* @expectedExceptionMessage If you what to use a "READ_WRITE" cache an implementation of "Doctrine\ORM\Cache\ConcurrentRegion" is required, The default implementation provided by doctrine is "Doctrine\ORM\Cache\Region\FileLockRegion" if you what to use it please provide a valid directory * @expectedExceptionMessage If you want to use a "READ_WRITE" cache an implementation of "Doctrine\ORM\Cache\ConcurrentRegion" is required, The default implementation provided by doctrine is "Doctrine\ORM\Cache\Region\FileLockRegion" if you want to use it please provide a valid directory
*/ */
public function testInvalidFileLockRegionDirectoryException() public function testInvalidFileLockRegionDirectoryException()
{ {