File tree Expand file tree Collapse file tree 5 files changed +10
-9
lines changed
app/code/Magento/Core/etc
integration/testsuite/Magento/Framework/View/Asset
static/testsuite/Magento/Test/Legacy/_files
unit/testsuite/Magento/Framework/View/Asset
lib/internal/Magento/Framework/View/Asset Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 27
27
<preference for =" Magento\Framework\View\Design\Theme\ThemeProviderInterface" type =" Magento\Theme\Model\Theme\ThemeProvider" />
28
28
<preference for =" Magento\Framework\View\Design\Theme\FileProviderInterface" type =" Magento\Theme\Model\Theme\FileProvider" />
29
29
<preference for =" Magento\Framework\View\Design\Theme\Customization\ConfigInterface" type =" Magento\Theme\Model\Theme\Customization\Config" />
30
- <preference for =" Magento\Framework\View\Asset\ConfigInterface" type =" Magento\Core\Model \Asset\Config" />
30
+ <preference for =" Magento\Framework\View\Asset\ConfigInterface" type =" Magento\Framework\View \Asset\Config" />
31
31
<preference for =" Magento\Framework\View\Asset\MergeStrategyInterface" type =" Magento\Framework\View\Asset\MergeStrategy\Direct" />
32
32
<preference for =" Magento\Framework\App\ViewInterface" type =" Magento\Framework\App\View" />
33
33
<preference for =" Magento\Framework\TranslateInterface" type =" Magento\Framework\Translate" />
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ protected function setUp()
36
36
*/
37
37
public function testCssMinifierLibrary ()
38
38
{
39
- /** @var \Magento\Core\Model \Asset\Config $config */
40
- $ config = $ this ->objectManager ->get ('\ Magento\Core\Model \Asset\Config ' );
39
+ /** @var \Magento\Framework\View \Asset\Config $config */
40
+ $ config = $ this ->objectManager ->get ('Magento\Framework\View \Asset\Config ' );
41
41
$ adapterClass = $ config ->getAssetMinificationAdapter ('css ' );
42
42
43
43
/** @var \Magento\Framework\Code\Minifier\AdapterInterface $adapter */
Original file line number Diff line number Diff line change 2915
2915
['Magento\Backend\Model\Config\Backend\Cookie\Lifetime ' , 'Magento\Cookie\Model\Config\Backend\Lifetime ' ],
2916
2916
['Magento\Backend\Model\Config\Backend\Cookie\Path ' , 'Magento\Cookie\Model\Config\Backend\Path ' ],
2917
2917
['Magento\Core\Block\RequireCookie ' , 'Magento\Cookie\Block\RequireCookie ' ],
2918
- ['Magento\Core\Controller\Index\NoCookies ' , 'Magento\Cookie\Controller\Index\NoCookies ' ]
2918
+ ['Magento\Core\Controller\Index\NoCookies ' , 'Magento\Cookie\Controller\Index\NoCookies ' ],
2919
+ ['Magento\Core\Model\Asset\Config ' , 'Magento\Framework\View\Asset\Config ' ],
2919
2920
];
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Tests Magento\Core\Model \Asset\Config
3
+ * Tests Magento\Framework\View \Asset\Config
4
4
*
5
5
* Copyright © 2015 Magento. All rights reserved.
6
6
* See COPYING.txt for license details.
7
7
*/
8
8
9
9
// @codingStandardsIgnoreFile
10
10
11
- namespace Magento \Core \ Model \Asset ;
11
+ namespace Magento \Framework \ View \Asset ;
12
12
13
13
class ConfigTest extends \Magento \Test \BaseTestCase
14
14
{
@@ -18,15 +18,15 @@ class ConfigTest extends \Magento\Test\BaseTestCase
18
18
private $ scopeConfigMock ;
19
19
20
20
/**
21
- * @var \Magento\Core\Model \Asset\Config
21
+ * @var \Magento\Framework\View \Asset\Config
22
22
*/
23
23
private $ model ;
24
24
25
25
public function setUp ()
26
26
{
27
27
parent ::setUp ();
28
28
$ this ->scopeConfigMock = $ this ->basicMock ('Magento\Framework\App\Config\ScopeConfigInterface ' );
29
- $ this ->model = $ this ->objectManager ->getObject ('Magento\Core\Model \Asset\Config ' ,
29
+ $ this ->model = $ this ->objectManager ->getObject ('Magento\Framework\View \Asset\Config ' ,
30
30
['scopeConfig ' => $ this ->scopeConfigMock ]
31
31
);
32
32
}
Original file line number Diff line number Diff line change 6
6
7
7
// @codingStandardsIgnoreFile
8
8
9
- namespace Magento \Core \ Model \Asset ;
9
+ namespace Magento \Framework \ View \Asset ;
10
10
11
11
/**
12
12
* View asset configuration interface
You can’t perform that action at this time.
0 commit comments