We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a600f0 commit b6e6f6dCopy full SHA for b6e6f6d
src/Symfony/Tests/Bundle/DependencyInjection/ApiPlatformExtensionTest.php
@@ -385,7 +385,9 @@ public function testPaginationMaximumItemsPerPageIsSetWithZero(): void
385
public function testPaginationMaximumItemsPerPageWhenDefaultsKeyIsMissing(): void
386
{
387
$config = self::DEFAULT_CONFIG;
388
- unset($config['api_platform']['defaults']);
+ $apiPlatformConfig = $config['api_platform'];
389
+ unset($apiPlatformConfig['defaults']);
390
+ $config['api_platform'] = $apiPlatformConfig;
391
(new ApiPlatformExtension())->load($config, $this->container);
392
393
$this->assertTrue($this->container->hasParameter('api_platform.collection.pagination.maximum_items_per_page'));
0 commit comments