@@ -16,7 +16,7 @@ class FeedTest extends \PHPUnit_Framework_TestCase
16
16
/** @var ObjectManagerHelper */
17
17
protected $ objectManagerHelper ;
18
18
19
- /** @var \PHPUnit_Framework_MockObject_MockObject */
19
+ /** @var \Magento\AdminNotification\Model\InboxFactory|\ PHPUnit_Framework_MockObject_MockObject */
20
20
protected $ inboxFactory ;
21
21
22
22
/** @var \Magento\AdminNotification\Model\Inbox|\PHPUnit_Framework_MockObject_MockObject */
@@ -40,21 +40,21 @@ class FeedTest extends \PHPUnit_Framework_TestCase
40
40
/** @var \Magento\Framework\App\DeploymentConfig|\PHPUnit_Framework_MockObject_MockObject */
41
41
protected $ deploymentConfig ;
42
42
43
- /** @var \Magento\Framework\App\DeploymentConfig |\PHPUnit_Framework_MockObject_MockObject */
43
+ /** @var \Magento\Framework\App\ProductMetadata |\PHPUnit_Framework_MockObject_MockObject */
44
44
protected $ productMetadata ;
45
45
46
- /** @var \Magento\Framework\App\DeploymentConfig |\PHPUnit_Framework_MockObject_MockObject */
46
+ /** @var \Magento\Framework\Url |\PHPUnit_Framework_MockObject_MockObject */
47
47
protected $ urlBuilder ;
48
48
49
49
protected function setUp ()
50
50
{
51
51
$ this ->inboxFactory = $ this ->getMock ('Magento\AdminNotification\Model\InboxFactory ' , ['create ' ], [], '' , false );
52
- $ this ->curlFactory = $ this ->getMock ('\ Magento\Framework\HTTP\Adapter\CurlFactory ' , ['create ' ], [], '' , false );
53
- $ this ->curl = $ this ->getMockBuilder ('\ Magento\Framework\HTTP\Adapter\Curl ' )
52
+ $ this ->curlFactory = $ this ->getMock ('Magento\Framework\HTTP\Adapter\CurlFactory ' , ['create ' ], [], '' , false );
53
+ $ this ->curl = $ this ->getMockBuilder ('Magento\Framework\HTTP\Adapter\Curl ' )
54
54
->disableOriginalConstructor ()->getMock ();
55
- $ this ->appState = $ this ->getMock ('\ Magento\Framework\App\State ' , ['getInstallDate ' ], [], '' , false );
55
+ $ this ->appState = $ this ->getMock ('Magento\Framework\App\State ' , ['getInstallDate ' ], [], '' , false );
56
56
$ this ->inboxModel = $ this ->getMock (
57
- '\ Magento\AdminNotification\Model\Inbox ' ,
57
+ 'Magento\AdminNotification\Model\Inbox ' ,
58
58
[
59
59
'__wakeup ' ,
60
60
'parse '
@@ -72,7 +72,7 @@ protected function setUp()
72
72
]
73
73
);
74
74
$ this ->cacheManager = $ this ->getMock (
75
- '\ Magento\Framework\App\CacheInterface ' ,
75
+ 'Magento\Framework\App\CacheInterface ' ,
76
76
[
77
77
'load ' ,
78
78
'getFrontend ' ,
@@ -82,7 +82,7 @@ protected function setUp()
82
82
]
83
83
);
84
84
85
- $ this ->deploymentConfig = $ this ->getMockBuilder ('\ Magento\Framework\App\DeploymentConfig ' )
85
+ $ this ->deploymentConfig = $ this ->getMockBuilder ('Magento\Framework\App\DeploymentConfig ' )
86
86
->disableOriginalConstructor ()->getMock ();
87
87
$ this ->objectManagerHelper = new ObjectManagerHelper ($ this );
88
88
@@ -112,7 +112,7 @@ protected function setUp()
112
112
public function testCheckUpdate ($ callInbox , $ curlRequest )
113
113
{
114
114
$ mockName = 'Test Product Name ' ;
115
- $ mockVersion = '0.42.0-beta7 ' ;
115
+ $ mockVersion = '0.0.0 ' ;
116
116
$ mockEdition = 'Test Edition ' ;
117
117
$ mockUrl = 'http://test-url ' ;
118
118
0 commit comments