Skip to content

Commit

Permalink
fixed previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Aug 18, 2011
1 parent bb335bc commit ffc0d37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions DependencyInjection/Configuration.php
Expand Up @@ -49,6 +49,7 @@ public function getConfigTreeBuilder()
->fixXmlConfig('format', 'formats')
->fixXmlConfig('templating_format', 'templating_formats')
->fixXmlConfig('force_redirect', 'force_redirects')
->addDefaultsIfNotSet()
->children()
->scalarNode('default_engine')->defaultValue('twig')->end()
->arrayNode('force_redirects')
Expand Down
2 changes: 1 addition & 1 deletion Tests/DependencyInjection/FOSRestExtensionTest.php
Expand Up @@ -127,7 +127,7 @@ public function testLoadFormatsWithDefaults()
public function testDisableViewResponseListener()
{
$config = array(
'fos_rest' => array('view_response_listener' => false)
'fos_rest' => array('view' => array('view_response_listener' => false))
);
$this->extension->load($config, $this->container);

Expand Down

0 comments on commit ffc0d37

Please sign in to comment.