File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed
Test/Unit/Model/Design/Backend Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ class File extends BackendFile
39
39
/**
40
40
* @var Mime
41
41
*/
42
- protected $ mime ;
42
+ private $ mime ;
43
43
44
44
/**
45
45
* @var IoFileSystem
46
46
*/
47
- protected $ ioFileSystem ;
47
+ private $ ioFileSystem ;
48
48
49
49
/**
50
50
* @var Database
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class FileTest extends \PHPUnit\Framework\TestCase
25
25
protected $ fileBackend ;
26
26
27
27
/** @var IoFileSystem|\PHPUnit_Framework_MockObject_MockObject */
28
- protected $ ioFileSystem ;
28
+ private $ ioFileSystem ;
29
29
30
30
/**
31
31
* @var \Magento\Framework\File\Mime|\PHPUnit_Framework_MockObject_MockObject
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class ImageTest extends \PHPUnit\Framework\TestCase
25
25
protected $ imageBackend ;
26
26
27
27
/** @var IoFileSystem|\PHPUnit_Framework_MockObject_MockObject */
28
- protected $ ioFileSystem ;
28
+ private $ ioFileSystem ;
29
29
30
30
/**
31
31
* @var \Magento\Framework\File\Mime|\PHPUnit_Framework_MockObject_MockObject
@@ -93,13 +93,6 @@ public function setUp()
93
93
$ this ->databaseHelper ,
94
94
$ this ->ioFileSystem
95
95
);
96
-
97
- $ objectManager = new \Magento \Framework \TestFramework \Unit \Helper \ObjectManager ($ this );
98
- $ objectManager ->setBackwardCompatibleProperty (
99
- $ this ->imageBackend ,
100
- 'mime ' ,
101
- $ this ->mime
102
- );
103
96
}
104
97
105
98
public function tearDown ()
You can’t perform that action at this time.
0 commit comments