Skip to content

Commit 0620e11

Browse files
fix tests
1 parent dea473d commit 0620e11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/DependencyInjection/ConfigurationTest.php

Lines 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)