Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4a9c829

Browse filesBrowse files
fix tests
1 parent 79f6a5c commit 4a9c829
Copy full SHA for 4a9c829

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
use Symfony\Component\Mailer\Mailer;
2323
use Symfony\Component\Messenger\MessageBusInterface;
2424
use Symfony\Component\Notifier\Notifier;
25+
use Symfony\Component\RateLimiter\Policy\TokenBucketLimiter;
2526
use Symfony\Component\Uid\Factory\UuidFactory;
2627

2728
class ConfigurationTest extends TestCase
@@ -563,7 +564,7 @@ class_exists(SemaphoreStore::class) && SemaphoreStore::isSupported() ? 'semaphor
563564
'private_headers' => [],
564565
],
565566
'rate_limiter' => [
566-
'enabled' => false,
567+
'enabled' => !class_exists(FullStack::class) && class_exists(TokenBucketLimiter::class),
567568
'limiters' => [],
568569
],
569570
'uid' => [

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.