Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b96e470

Browse filesBrowse files
committed
fixing tests
1 parent a2d7a95 commit b96e470
Copy full SHA for b96e470

File tree

Expand file treeCollapse file tree

3 files changed

+10
-2
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+10
-2
lines changed

‎src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ private function addAssetMapperSection(ArrayNodeDefinition $rootNode, callable $
848848
->defaultValue('%kernel.project_dir%/importmap.php')
849849
->end()
850850
->scalarNode('importmap_polyfill')
851-
->info('URL of the ES Module Polyfill to use, false to disable.')
851+
->info('URL of the ES Module Polyfill to use, false to disable. Defaults to using a CDN URL.')
852852
->defaultNull()
853853
->end()
854854
->scalarNode('vendor_dir')

‎src/Symfony/Bundle/FrameworkBundle/Tests/Controller/AbstractControllerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/Controller/AbstractControllerTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function testSubscribedServices()
7474
'security.token_storage' => '?Symfony\\Component\\Security\\Core\\Authentication\\Token\\Storage\\TokenStorageInterface',
7575
'security.csrf.token_manager' => '?Symfony\\Component\\Security\\Csrf\\CsrfTokenManagerInterface',
7676
'web_link.http_header_serializer' => '?Symfony\\Component\\WebLink\\HttpHeaderSerializer',
77-
'importmap.manager' => '?Symfony\\Component\\ImportMap\\ImportMapManager',
77+
'asset_mapper.importmap.manager' => '?Symfony\\Component\\AssetMapper\\ImportMap\\ImportMapManager',
7878
];
7979

8080
$this->assertEquals($expectedServices, $subscribed, 'Subscribed core services in AbstractController have changed');

‎src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ public function testAssetMapperCanBeEnabled()
106106
'paths' => [],
107107
'server' => true,
108108
'public_prefix' => '/assets/',
109+
'importmap_path' => '%kernel.project_dir%/importmap.php',
110+
'importmap_polyfill' => null,
111+
'vendor_dir' => '%kernel.project_dir%/assets/vendor',
112+
'provider' => 'jspm',
109113
];
110114

111115
$this->assertEquals($defaultConfig, $config['asset_mapper']);
@@ -610,6 +614,10 @@ protected static function getBundleDefaultConfig()
610614
'paths' => [],
611615
'server' => true,
612616
'public_prefix' => '/assets/',
617+
'importmap_path' => '%kernel.project_dir%/importmap.php',
618+
'importmap_polyfill' => null,
619+
'vendor_dir' => '%kernel.project_dir%/assets/vendor',
620+
'provider' => 'jspm',
613621
],
614622
'cache' => [
615623
'pools' => [],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.