File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
dev/tests/integration/testsuite/Magento Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ protected function prepareMenuConfig()
97
97
$ paths ->setAccessible (true );
98
98
99
99
$ paths ->setValue (
100
+ null ,
100
101
[
101
102
ComponentRegistrar::MODULE => [],
102
103
ComponentRegistrar::THEME => [],
@@ -157,7 +158,7 @@ protected function tearDown(): void
157
158
$ reflection = new \ReflectionClass (\Magento \Framework \Component \ComponentRegistrar::class);
158
159
$ paths = $ reflection ->getProperty ('paths ' );
159
160
$ paths ->setAccessible (true );
160
- $ paths ->setValue ($ this ->backupRegistrar );
161
+ $ paths ->setValue (null , $ this ->backupRegistrar );
161
162
$ paths ->setAccessible (false );
162
163
}
163
164
}
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ protected function setUp(): void
47
47
$ paths = $ reflection ->getProperty ('paths ' );
48
48
$ paths ->setAccessible (true );
49
49
$ this ->backupRegistrar = $ paths ->getValue ();
50
- $ paths ->setValue (['module ' => [], 'theme ' => []]);
50
+ $ paths ->setValue (null , ['module ' => [], 'theme ' => []]);
51
51
$ paths ->setAccessible (false );
52
52
53
53
$ this ->testDir = realpath (__DIR__ . '/_files ' );
@@ -84,13 +84,13 @@ protected function tearDown(): void
84
84
}
85
85
$ property = new \ReflectionProperty (\Magento \Setup \Module \I18n \ServiceLocator::class, '_dictionaryGenerator ' );
86
86
$ property ->setAccessible (true );
87
- $ property ->setValue (null );
87
+ $ property ->setValue (null , null );
88
88
$ property ->setAccessible (false );
89
89
90
90
$ reflection = new \ReflectionClass (\Magento \Framework \Component \ComponentRegistrar::class);
91
91
$ paths = $ reflection ->getProperty ('paths ' );
92
92
$ paths ->setAccessible (true );
93
- $ paths ->setValue ($ this ->backupRegistrar );
93
+ $ paths ->setValue (null , $ this ->backupRegistrar );
94
94
$ paths ->setAccessible (false );
95
95
}
96
96
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ protected function tearDown(): void
80
80
$ reflection = new \ReflectionClass (\Magento \Framework \Component \ComponentRegistrar::class);
81
81
$ paths = $ reflection ->getProperty ('paths ' );
82
82
$ paths ->setAccessible (true );
83
- $ paths ->setValue ($ this ->backupRegistrar );
83
+ $ paths ->setValue (null , $ this ->backupRegistrar );
84
84
$ paths ->setAccessible (false );
85
85
}
86
86
You can’t perform that action at this time.
0 commit comments