File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
dev/tests/unit/testsuite/Magento/OfflineShipping
Block/Adminhtml/Carrier/Tablerate Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,17 @@ class GridTest extends \PHPUnit_Framework_TestCase
23
23
protected $ backendHelperMock ;
24
24
25
25
/**
26
- * @var \Magento\OfflineShipping\Model\Resource\Carrier\Tablerate\CollectionFactory|\ PHPUnit_Framework_MockObject_MockObject
26
+ * @var \PHPUnit_Framework_MockObject_MockObject
27
27
*/
28
28
protected $ tablerateMock ;
29
29
30
30
/**
31
- * @var \Magento\Backend\Block\Template\Context|\ PHPUnit_Framework_MockObject_MockObject
31
+ * @var \PHPUnit_Framework_MockObject_MockObject
32
32
*/
33
33
protected $ context ;
34
34
35
35
/**
36
- * @var \Magento\OfflineShipping\Model\Resource\Carrier\Tablerate\CollectionFactory|\ PHPUnit_Framework_MockObject_MockObject
36
+ * @var \PHPUnit_Framework_MockObject_MockObject
37
37
*/
38
38
protected $ collectionFactoryMock ;
39
39
@@ -53,7 +53,8 @@ protected function setUp()
53
53
->disableOriginalConstructor ()
54
54
->getMock ();
55
55
56
- $ this ->collectionFactoryMock = $ this ->getMockBuilder ('\Magento\OfflineShipping\Model\Resource\Carrier\Tablerate\CollectionFactory ' )
56
+ $ this ->collectionFactoryMock =
57
+ $ this ->getMockBuilder ('\Magento\OfflineShipping\Model\Resource\Carrier\Tablerate\CollectionFactory ' )
57
58
->disableOriginalConstructor ()
58
59
->getMock ();
59
60
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ class TablerateTest extends \PHPUnit_Framework_TestCase
19
19
20
20
protected function setUp ()
21
21
{
22
- $ this ->tableateFactoryMock = $ this ->getMockBuilder ('Magento\OfflineShipping\Model\Resource\Carrier\TablerateFactory ' )
22
+ $ this ->tableateFactoryMock =
23
+ $ this ->getMockBuilder ('Magento\OfflineShipping\Model\Resource\Carrier\TablerateFactory ' )
23
24
->disableOriginalConstructor ()
24
25
->setMethods (['create ' ])
25
26
->getMock ();
You can’t perform that action at this time.
0 commit comments