Skip to content

Commit f560dc0

Browse files
committed
minor symfony#17633 [FrameworkBundle] Remove unused code in test (dunglas)
This PR was merged into the 2.7 branch. Discussion ---------- [FrameworkBundle] Remove unused code in test | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 8780e26 [FrameworkBundle] Remove unused code in test
2 parents ccc6d31 + 8780e26 commit f560dc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/PhpFrameworkExtensionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function loadFromFile(ContainerBuilder $container, $file)
2828
*/
2929
public function testAssetsCannotHavePathAndUrl()
3030
{
31-
$container = $this->createContainerFromClosure(function ($container) {
31+
$this->createContainerFromClosure(function ($container) {
3232
$container->loadFromExtension('framework', array(
3333
'assets' => array(
3434
'base_urls' => 'http://cdn.example.com',
@@ -43,7 +43,7 @@ public function testAssetsCannotHavePathAndUrl()
4343
*/
4444
public function testAssetPackageCannotHavePathAndUrl()
4545
{
46-
$container = $this->createContainerFromClosure(function ($container) {
46+
$this->createContainerFromClosure(function ($container) {
4747
$container->loadFromExtension('framework', array(
4848
'assets' => array(
4949
'packages' => array(

0 commit comments

Comments
 (0)