File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
framework/Magento/TestFramework Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function clearCache()
39
39
{
40
40
foreach ($ this ->_classesToDestruct as $ className ) {
41
41
if (isset ($ this ->_sharedInstances [$ className ])) {
42
- $ this ->_sharedInstances [$ className ]-> __destruct () ;
42
+ $ this ->_sharedInstances [$ className ] = null ;
43
43
}
44
44
}
45
45
Original file line number Diff line number Diff line change 13
13
<!-- Test suites definition -->
14
14
<testsuites >
15
15
<!-- Memory tests run first to prevent influence of other tests on accuracy of memory measurements -->
16
- <!-- < testsuite name="Memory Usage Tests"> -- >
17
- <!-- < file>testsuite/Magento/MemoryUsageTest.php</file> -- >
18
- <!-- < /testsuite> -- >
16
+ <testsuite name =" Memory Usage Tests" >
17
+ <file >testsuite/Magento/MemoryUsageTest.php</file >
18
+ </testsuite >
19
19
<testsuite name =" Magento Integration Tests" >
20
20
<directory suffix =" Test.php" >testsuite</directory >
21
21
<exclude >testsuite/Magento/Test/Integrity</exclude >
You can’t perform that action at this time.
0 commit comments