Skip to content

Commit 3de5da6

Browse files
Merge branch '4.4' into 5.2
* 4.4: Fix SkippedTestSuite [Console] Fix type annotation on InputInterface::hasArgument() Revert "minor #41949 [Console] fix type annotations on InputInterface (nicolas-grekas)" [EventDispatcher] Correct the called event listener method case Add missing translations for Japanese. Revert "bug #41952 [Console] fix handling positional arguments (nicolas-grekas)" [Security] Don't skip UserPasswordValidatorTest [DI] CS fix [Console] fix handling positional arguments [Validator] add translation for Vietnamese Add Bulgarian translation for the validator
2 parents 73a90f5 + 0c737a4 commit 3de5da6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/RememberMe/PersistentTokenBasedRememberMeServicesTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Symfony\Component\Security\Http\Tests\RememberMe;
1313

14+
use PHPUnit\Framework\SkippedTestSuiteError;
1415
use PHPUnit\Framework\TestCase;
1516
use Symfony\Component\HttpFoundation\Cookie;
1617
use Symfony\Component\HttpFoundation\Request;
@@ -34,7 +35,7 @@ public static function setUpBeforeClass(): void
3435
try {
3536
random_bytes(1);
3637
} catch (\Exception $e) {
37-
self::markTestSkipped($e->getMessage());
38+
throw new SkippedTestSuiteError($e->getMessage());
3839
}
3940
}
4041

0 commit comments

Comments
 (0)