8000 Merge branch '4.4' into 5.0 · symfony/http-foundation@acd19c5 · GitHub
[go: up one dir, main page]

Skip to content

Commit acd19c5

Browse files
Merge branch '4.4' into 5.0
* 4.4: (23 commits) [Filesystem] Handle paths on different drives [WebProfiler] Do not add src-elem CSP directives if they do not exist [Yaml] fix parse error when unindented collections contain a comment Execute docker dependent tests with github actions Update exception.html.php [3.4][Inflector] Improve testSingularize() argument name [Inflector] Fix testPluralize() arguments names [PhpUnitBridge] fix PHP 5.3 compat again Skip validation when email is an empty object fix sr_Latn translation [Validator] fix lazy property usage. Fix annotation [Debug][ErrorHandler] cleanup phpunit.xml.dist files [Translation] Fix for translation:update command updating ICU messages [PhpUnitBridge] fix compat with PHP 5.3 bumped Symfony version to 4.4.9 updated VERSION for 4.4.8 updated CHANGELOG for 4.4.8 provide a useful message when extension types don't match [Cache] Fixed not supported Redis eviction policies ...
2 parents e47fdf8 + c880e63 commit acd19c5

6 files changed

+20
-0
lines changed

Tests/Session/Storage/Handler/AbstractRedisSessionHandlerTestCase.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ protected function setUp(): void
4444
if (!\extension_loaded('redis')) {
4545
self::markTestSkipped('Extension redis required.');
4646
}
47+
try {
48+
(new \Redis())->connect(getenv('REDIS_HOST'));
49+
} catch (\Exception $e) {
50+
self::markTestSkipped($e->getMessage());
51+
}
4752

4853
$host = getenv('REDIS_HOST') ?: 'localhost';
4954

Tests/Session/Storage/Handler/PredisClusterSessionHandlerTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313

1414
use Predis\Client;
1515

16+
/**
17+
* @group integration
18+
*/
1619
class PredisClusterSessionHandlerTest extends AbstractRedisSessionHandlerTestCase
1720
{
1821
/**

Tests/Session/Storage/Handler/PredisSessionHandlerTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313

1414
use Predis\Client;
1515

16+
/**
17+
* @group integration
18+
*/
1619
class PredisSessionHandlerTest extends AbstractRedisSessionHandlerTestCase
1720
{
1821
/**

Tests/Session/Storage/Handler/RedisArraySessionHandlerTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111

1212
namespace Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler;
1313

14+
/**
15+
* @group integration
16+
*/
1417
class RedisArraySessionHandlerTest extends AbstractRedisSessionHandlerTestCase
1518
{
1619
/**

Tests/Session/Storage/Handler/RedisClusterSessionHandlerTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111

1212
namespace Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler;
1313

14+
/**
15+
* @group integration
16+
*/
1417
class RedisClusterSessionHandlerTest extends AbstractRedisSessionHandlerTestCase
1518
{
1619
public static function setUpBeforeClass(): void

Tests/Session/Storage/Handler/RedisSessionHandlerTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111

1212
namespace Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler;
1313

14+
/**
15+
* @group integration
16+
*/
1417
class RedisSessionHandlerTest extends AbstractRedisSessionHandlerTestCase
1518
{
1619
/**

0 commit comments

Comments
 (0)
0