"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Lock/Tests/Store/RedisClusterStoreTest.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

RedisClusterStoreTest.php  (phplist-3.4.5.tgz):RedisClusterStoreTest.php  (phplist-3.4.6.tgz)
skipping to change at line 21 skipping to change at line 21
namespace Symfony\Component\Lock\Tests\Store; namespace Symfony\Component\Lock\Tests\Store;
/** /**
* @author Jérémy Derussé <jeremy@derusse.com> * @author Jérémy Derussé <jeremy@derusse.com>
* *
* @requires extension redis * @requires extension redis
*/ */
class RedisClusterStoreTest extends AbstractRedisStoreTest class RedisClusterStoreTest extends AbstractRedisStoreTest
{ {
public static function setupBeforeClass() public static function setUpBeforeClass()
{ {
if (!class_exists('RedisCluster')) { if (!class_exists('RedisCluster')) {
self::markTestSkipped('The RedisCluster class is required.'); self::markTestSkipped('The RedisCluster class is required.');
} }
if (!getenv('REDIS_CLUSTER_HOSTS')) { if (!getenv('REDIS_CLUSTER_HOSTS')) {
self::markTestSkipped('REDIS_CLUSTER_HOSTS env var is not defined.') ; self::markTestSkipped('REDIS_CLUSTER_HOSTS env var is not defined.') ;
} }
} }
protected function getRedisConnection() protected function getRedisConnection()
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)