File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/code/Magento/Elasticsearch6/Test/Unit/Model/Client Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
use Magento \Elasticsearch \Model \Client \Elasticsearch as ElasticsearchClient ;
10
10
use Magento \Framework \TestFramework \Unit \Helper \ObjectManager as ObjectManagerHelper ;
11
+ use Magento \Elasticsearch6 \Model \Client \Elasticsearch ;
11
12
12
13
/**
13
14
* Class ElasticsearchTest
@@ -84,7 +85,7 @@ protected function setUp()
84
85
85
86
$ this ->objectManager = new ObjectManagerHelper ($ this );
86
87
$ this ->model = $ this ->objectManager ->getObject (
87
- \ Magento \ Elasticsearch6 \ Model \ Client \ Elasticsearch::class,
88
+ Elasticsearch::class,
88
89
[
89
90
'options ' => $ this ->getOptions (),
90
91
'elasticsearchClient ' => $ this ->elasticsearchClientMock
@@ -98,7 +99,7 @@ protected function setUp()
98
99
public function testConstructorOptionsException ()
99
100
{
100
101
$ result = $ this ->objectManager ->getObject (
101
- \ Magento \ Elasticsearch6 \ Model \ Client \ Elasticsearch::class,
102
+ Elasticsearch::class,
102
103
[
103
104
'options ' => []
104
105
]
You can’t perform that action at this time.
0 commit comments