8000 [FrameworkBundle] Update assets configuration tests by jakzal · Pull Request #13800 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] Update assets configuration tests #13800

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 26, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[FrameworkBundle] Remove a legacy test.
  • Loading branch information
jakzal committed Feb 26, 2015
commit b0f6a19e93bb4c6a37fcc1a0336e0a034e5124d2
Original file line number Diff line number Diff line change
Expand Up @@ -86,27 +86,6 @@ public function testInvalidValueTrustedProxies()
));
}

/**
* @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException
* @expectedExceptionMessage You cannot use assets settings under "framework.templating" and "assets" configurations in the same project.
*/
public function testLegacyInvalidValueAssets()
{
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);

$processor = new Processor();
$configuration = new Configuration(true);
$processor->processConfiguration($configuration, array(
array(
'templating' => array(
'engines' => null,
'assets_base_urls' => '//example.com',
),
'assets' => null,
),
));
}

protected static function getBundleDefaultConfig()
{
return array(
Expand Down
0