File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
app/code/Magento/CatalogSearch/Test/Unit/Model/Search/FilterMapper Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11
11
use Magento \Framework \Search \Request \FilterInterface ;
12
12
use Magento \Store \Model \StoreManagerInterface ;
13
13
use Magento \Framework \App \Config \ScopeConfigInterface ;
14
- use Magento \Store \Api \Data \WebsiteInterface ;
14
+ use Magento \Store \Api \Data \StoreInterface ;
15
15
use Magento \Framework \DB \Select ;
16
16
use Magento \Eav \Model \Config as EavConfig ;
17
17
use Magento \Catalog \Model \ResourceModel \Eav \Attribute ;
@@ -85,7 +85,7 @@ public function testApply()
85
85
$ attribute = $ this ->getMockBuilder (Attribute::class)
86
86
->disableOriginalConstructor ()
87
87
->getMock ();
88
- $ website = $ this ->getMockBuilder (WebsiteInterface ::class)
88
+ $ store = $ this ->getMockBuilder (StoreInterface ::class)
89
89
->disableOriginalConstructor ()
90
90
->getMock ();
91
91
@@ -99,9 +99,9 @@ public function testApply()
99
99
->method ('getAttribute ' )
100
100
->willReturn ($ attribute );
101
101
$ this ->storeManager ->expects ($ this ->once ())
102
- ->method ('getWebsite ' )
103
- ->willReturn ($ website );
104
- $ website ->expects ($ this ->once ())
102
+ ->method ('getStore ' )
103
+ ->willReturn ($ store );
104
+ $ store ->expects ($ this ->once ())
105
105
->method ('getId ' )
106
106
->willReturn (1 );
107
107
$ attribute ->expects ($ this ->once ())
You can’t perform that action at this time.
0 commit comments