Skip to content

Commit

Permalink
Fix Symfony 7.2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ostrolucky committed Oct 21, 2024
1 parent 821393e commit 7bfb8e8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/CacheSchemaSubscriberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ public function testSchemaSubscriberWiring(string $adapterId, string $subscriber
'kernel.container_class' => ContainerBuilder::class,
'kernel.secret' => 'test',
'env(base64:default::SYMFONY_DECRYPTION_SECRET)' => 'foo',
'env(bool:default::SYMFONY_TRUST_X_SENDFILE_TYPE_HEADER)' => '',
'env(default::SYMFONY_TRUSTED_HOSTS)' => '',
'env(default::SYMFONY_TRUSTED_PROXIES)' => '',
'env(default::SYMFONY_TRUSTED_HEADERS)' => '',
'debug.file_link_format' => null,
]));

Expand Down
4 changes: 4 additions & 0 deletions tests/DependencyInjection/Compiler/IdGeneratorPassTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ public function testRepositoryServiceWiring(): void
'kernel.secret' => 'test',
'container.build_id' => uniqid(),
'env(base64:default::SYMFONY_DECRYPTION_SECRET)' => 'foo',
'env(bool:default::SYMFONY_TRUST_X_SENDFILE_TYPE_HEADER)' => '',
'env(default::SYMFONY_TRUSTED_HOSTS)' => '',
'env(default::SYMFONY_TRUSTED_PROXIES)' => '',
'env(default::SYMFONY_TRUSTED_HEADERS)' => '',
'debug.file_link_format' => null,
]));

Expand Down
4 changes: 4 additions & 0 deletions tests/LockStoreSchemaListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ public function testLockStoreSchemaSubscriberWiring(array $config, int $expected
'kernel.container_class' => ContainerBuilder::class,
'kernel.secret' => 'test',
'env(base64:default::SYMFONY_DECRYPTION_SECRET)' => 'foo',
'env(bool:default::SYMFONY_TRUST_X_SENDFILE_TYPE_HEADER)' => '',
'env(default::SYMFONY_TRUSTED_HOSTS)' => '',
'env(default::SYMFONY_TRUSTED_PROXIES)' => '',
'env(default::SYMFONY_TRUSTED_HEADERS)' => '',
'debug.file_link_format' => null,
]));

Expand Down
4 changes: 4 additions & 0 deletions tests/ServiceRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ public function testRepositoryServiceWiring(): void
'kernel.secret' => 'test',
'container.build_id' => uniqid(),
'env(base64:default::SYMFONY_DECRYPTION_SECRET)' => 'foo',
'env(bool:default::SYMFONY_TRUST_X_SENDFILE_TYPE_HEADER)' => '',
'env(default::SYMFONY_TRUSTED_HOSTS)' => '',
'env(default::SYMFONY_TRUSTED_PROXIES)' => '',
'env(default::SYMFONY_TRUSTED_HEADERS)' => '',
'debug.file_link_format' => null,
]));

Expand Down

0 comments on commit 7bfb8e8

Please sign in to comment.