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 0748b88 commit 266c01bCopy full SHA for 266c01b
tests/Bridge/Symfony/Bundle/DependencyInjection/ConfigurationTest.php
@@ -234,4 +234,17 @@ public function testApiKeysConfig()
234
$this->assertTrue(isset($config['swagger']['api_keys']));
235
$this->assertSame($exampleConfig, $config['swagger']['api_keys'][0]);
236
}
237
+
238
+ /**
239
+ * Test config for empty title and description.
240
+ */
241
+ public function testEmptyTitleDescriptionConfig()
242
+ {
243
+ $config = $this->processor->processConfiguration($this->configuration, [
244
+ 'api_platform' => [],
245
+ ]);
246
247
+ $this->assertSame($config['title'], '');
248
+ $this->assertSame($config['description'], '');
249
+ }
250
0 commit comments