File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Elasticsearch/Test/Unit/Model/Adapter Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11
11
use Elasticsearch \Namespaces \IndicesNamespace ;
12
12
use Magento \AdvancedSearch \Model \Client \ClientInterface as ElasticsearchClient ;
13
13
use Magento \AdvancedSearch \Model \Client \ClientOptionsInterface ;
14
- use Magento \Catalog \Api \Data \ProductAttributeInterface ;
15
14
use Magento \Catalog \Api \ProductAttributeRepositoryInterface ;
15
+ use Magento \Eav \Model \Entity \Attribute \AbstractAttribute ;
16
16
use Magento \Elasticsearch \Model \Adapter \BatchDataMapperInterface ;
17
17
use Magento \Elasticsearch \Model \Adapter \Elasticsearch as ElasticsearchAdapter ;
18
18
use Magento \Elasticsearch \Model \Adapter \FieldMapperInterface ;
@@ -527,7 +527,7 @@ public function testUpdateIndexMappingWithAliasDefinition(): void
527
527
->with ($ storeId , $ mappedIndexerId )
528
528
->willReturn ($ indexName );
529
529
530
- $ attribute = $ this ->getMockBuilder (ProductAttributeInterface ::class)
530
+ $ attribute = $ this ->getMockBuilder (AbstractAttribute ::class)
531
531
->disableOriginalConstructor ()
532
532
->getMockForAbstractClass ();
533
533
You can’t perform that action at this time.
0 commit comments