File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Tests/DependencyInjection Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,14 @@ public function prepend(ContainerBuilder $container)
4242 }
4343 }
4444
45+ /*
46+ * {@inheritdoc}
47+ */
48+ public function getConfiguration (array $ config , ContainerBuilder $ container )
49+ {
50+ return new Configuration ($ container ->getParameter ('kernel.debug ' ));
51+ }
52+
4553 /**
4654 * Loads the services based on your application configuration.
4755 *
Original file line number Diff line number Diff line change @@ -640,6 +640,13 @@ public static function getShowExceptionData()
640640 );
641641 }
642642
643+ public function testGetConfiguration ()
644+ {
645+ $ configuration = $ this ->extension ->getConfiguration ([], $ this ->container );
646+
647+ $ this ->assertInstanceOf ('FOS\RestBundle\DependencyInjection\Configuration ' , $ configuration );
648+ }
649+
643650 /**
644651 * Assert that loader definition described properly.
645652 *
You can’t perform that action at this time.
0 commit comments