File tree Expand file tree Collapse file tree 10 files changed +9
-18
lines changed Expand file tree Collapse file tree 10 files changed +9
-18
lines changed Original file line number Diff line number Diff line change 10
10
use Magento \Authorization \Model \Acl \Role \Group as RoleGroup ;
11
11
12
12
/**
13
- * Class AdminRoles
14
- * @package CtiDigital\Configurator\Component
15
13
* @SuppressWarnings(PHPMD.ShortVariable)
16
14
*/
17
15
class AdminRoles implements ComponentInterface
Original file line number Diff line number Diff line change 8
8
use CtiDigital \Configurator \Exception \ComponentException ;
9
9
10
10
/**
11
- * Class AdminUsers
12
- * @package CtiDigital\Configurator\Component
13
11
* @SuppressWarnings(PHPMD.ShortVariable)
14
12
*/
15
13
class AdminUsers implements ComponentInterface
Original file line number Diff line number Diff line change 10
10
use CtiDigital \Configurator \Exception \ComponentException ;
11
11
12
12
/**
13
- * Class ApiIntegrations
14
- * @package CtiDigital\Configurator\Component
15
13
* @SuppressWarnings(PHPMD.ShortVariable)
16
14
*/
17
15
class ApiIntegrations implements ComponentInterface
Original file line number Diff line number Diff line change 15
15
use Magento \CatalogRule \Model \Rule \Job ;
16
16
17
17
/**
18
- * Class CatalogPriceRulesProcessor
19
- * @package CtiDigital\Configurator\Component\CatalogPriceRules
20
18
* @SuppressWarnings(PHPMD.ShortVariable)
21
19
*/
22
20
class CatalogPriceRulesProcessor implements ComponentProcessorInterface
Original file line number Diff line number Diff line change 10
10
use Magento \Framework \App \Filesystem \DirectoryList ;
11
11
12
12
/**
13
- * Class Categories
14
- * @package CtiDigital\Configurator\Component
15
13
* @SuppressWarnings(PHPMD.ShortVariable)
16
14
*/
17
15
class Categories implements ComponentInterface
Original file line number Diff line number Diff line change 8
8
use CtiDigital \Configurator \Api \LoggerInterface ;
9
9
10
10
/**
11
- * Class CustomerGroups
12
- * @package CtiDigital\Configurator\Component
13
11
* @SuppressWarnings(PHPMD.ShortVariable)
14
12
*/
15
13
class CustomerGroups implements ComponentInterface
Original file line number Diff line number Diff line change 11
11
use CtiDigital \Configurator \Api \LoggerInterface ;
12
12
13
13
/**
14
- * Class AttributeOption
15
- * @package CtiDigital\Configurator\Component\Product
16
14
* @SuppressWarnings(PHPMD.ShortVariable)
17
15
*/
18
16
class AttributeOption
Original file line number Diff line number Diff line change 9
9
use Magento \UrlRewrite \Model \UrlPersistInterface ;
10
10
11
11
/**
12
- * Class Rewrites
13
- * @package CtiDigital\Configurator\Component
14
12
* @SuppressWarnings(PHPMD.ShortVariable)
15
13
*/
16
14
class Rewrites implements ComponentInterface
Original file line number Diff line number Diff line change 10
10
use Magento \Tax \Model \ClassModelFactory ;
11
11
12
12
/**
13
- * Class TaxRules
14
- * @package CtiDigital\Configurator\Component
15
13
* @SuppressWarnings(PHPMD.ShortVariable)
16
14
*/
17
15
class TaxRules implements ComponentInterface
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ class ConfigTest extends \PHPUnit\Framework\TestCase
29
29
*/
30
30
private $ scopeConfig ;
31
31
32
+ /**
33
+ * @var ScopeConfig\Initial|\PHPUnit\Framework\MockObject\MockObject
34
+ */
35
+ private $ initialConfig ;
36
+
32
37
/**
33
38
* @var Collection|\PHPUnit\Framework\MockObject\MockObject
34
39
*/
@@ -67,6 +72,9 @@ protected function setUp()
67
72
$ this ->scopeConfig = $ this ->getMockBuilder (ScopeConfig::class)
68
73
->disableOriginalConstructor ()
69
74
->getMock ();
75
+ $ this ->initialConfig = $ this ->getMockBuilder (ScopeConfig \Initial::class)
76
+ ->disableOriginalConstructor ()
77
+ ->getMock ();
70
78
$ this ->collection = $ this ->getMockBuilder (Collection::class)
71
79
->disableOriginalConstructor ()
72
80
->getMock ();
@@ -90,6 +98,7 @@ protected function setUp()
90
98
$ this ->config = new Config (
91
99
$ this ->configResource ,
92
100
$ this ->scopeConfig ,
101
+ $ this ->initialConfig ,
93
102
$ this ->collectionFactory ,
94
103
$ this ->encryptorInterface ,
95
104
$ this ->websiteFactory ,
You can’t perform that action at this time.
0 commit comments