File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
dev/tests/api-functional/testsuite/Magento/Analytics/Api Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \Analytics \Api ;
7
7
8
+ use Magento \Analytics \Model \FileInfoManager ;
8
9
use Magento \Framework \UrlInterface ;
9
10
use Magento \Framework \Webapi \Rest \Request ;
11
+ use Magento \Store \Model \StoreManagerInterface ;
10
12
use Magento \TestFramework \TestCase \WebapiAbstract ;
11
13
12
14
/**
@@ -38,11 +40,11 @@ public function testGetAll()
38
40
$ objectManager = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ();
39
41
40
42
/**
41
- * @var $fileInfoManager \Magento\Analytics\Model\ FileInfoManager
43
+ * @var $fileInfoManager FileInfoManager
42
44
*/
43
- $ fileInfoManager = $ objectManager ->create (\ Magento \ Analytics \ Model \ FileInfoManager::class);
45
+ $ fileInfoManager = $ objectManager ->create (FileInfoManager::class);
44
46
45
- $ storeManager = $ objectManager ->create (\ Magento \ Store \ Model \ StoreManagerInterface::class);
47
+ $ storeManager = $ objectManager ->create (StoreManagerInterface::class);
46
48
47
49
$ fileInfo = $ fileInfoManager ->load ();
48
50
@@ -53,7 +55,7 @@ public function testGetAll()
53
55
],
54
56
'soap ' => [
55
57
'service ' => static ::SERVICE_NAME ,
56
- 'serviceVersion ' => self ::SERVICE_VERSION ,
58
+ 'serviceVersion ' => static ::SERVICE_VERSION ,
57
59
'operation ' => static ::SERVICE_NAME . 'Get ' ,
58
60
],
59
61
];
You can’t perform that action at this time.
0 commit comments