Skip to content

Commit cb1626b

Browse files
Merge branch '5.2' into 5.3
* 5.2: CS fix Missing translations from traits 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)" fix backport
2 parents a5e2580 + 3de5da6 commit cb1626b

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)