Merge pull request #1227 from nlegoff/fix-memcached-typo

[3.8.7] Fix typo memcached
This commit is contained in:
Nicolas Le Goff
2015-02-02 14:18:55 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ class Factory
$cache = $this->createMemcache($options); $cache = $this->createMemcache($options);
break; break;
case 'memcached': case 'memcached':
case 'memcachecached': case 'memcachedcache':
$cache = $this->createMemcached($options); $cache = $this->createMemcached($options);
break; break;
case 'redis': case 'redis':

View File

@@ -29,7 +29,7 @@ class FactoryTest extends \PHPUnit_Framework_TestCase
array('memcache', 'memcache', 'Alchemy\Phrasea\Cache\MemcacheCache'), array('memcache', 'memcache', 'Alchemy\Phrasea\Cache\MemcacheCache'),
array('memcachecache', 'memcache', 'Alchemy\Phrasea\Cache\MemcacheCache'), array('memcachecache', 'memcache', 'Alchemy\Phrasea\Cache\MemcacheCache'),
array('memcached', 'memcached', 'Alchemy\Phrasea\Cache\MemcachedCache'), array('memcached', 'memcached', 'Alchemy\Phrasea\Cache\MemcachedCache'),
array('memcachecached', 'memcached', 'Alchemy\Phrasea\Cache\MemcachedCache'), array('memcachedcache', 'memcached', 'Alchemy\Phrasea\Cache\MemcachedCache'),
array('redis', 'redis', 'Alchemy\Phrasea\Cache\RedisCache'), array('redis', 'redis', 'Alchemy\Phrasea\Cache\RedisCache'),
array('rediscache', 'redis', 'Alchemy\Phrasea\Cache\RedisCache'), array('rediscache', 'redis', 'Alchemy\Phrasea\Cache\RedisCache'),
array('wincache', 'wincache', 'Alchemy\Phrasea\Cache\WincacheCache'), array('wincache', 'wincache', 'Alchemy\Phrasea\Cache\WincacheCache'),