File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
app/code/Magento/Reports/Test/Unit/Model/Event Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,6 @@ public function setUp()
85
85
86
86
/** @var \Magento\Store\Model\StoreManagerInterface|\PHPUnit_Framework_MockObject_MockObject $storeManager */
87
87
$ storeManager = $ this ->getMock ('Magento\Store\Model\StoreManagerInterface ' );
88
-
89
88
$ this ->storeMock = $ this ->getMockBuilder ('\Magento\Store\Model\Store ' )
90
89
->disableOriginalConstructor ()->getMock ();
91
90
@@ -128,7 +127,8 @@ public function testCatalogProductViewCustomer()
128
127
$ storeId = 1 ;
129
128
$ expectedViewedData = [
130
129
'product_id ' => $ productId ,
131
- 'customer_id ' => $ customerId
130
+ 'customer_id ' => $ customerId ,
131
+ 'store_id ' => $ storeId ,
132
132
];
133
133
134
134
$ expectedEventData = [
@@ -160,7 +160,8 @@ public function testCatalogProductViewVisitor()
160
160
$ storeId = 1 ;
161
161
$ expectedViewedData = [
162
162
'product_id ' => $ productId ,
163
- 'visitor_id ' => $ visitorId
163
+ 'visitor_id ' => $ visitorId ,
164
+ 'store_id ' => $ storeId ,
164
165
];
165
166
166
167
$ expectedEventData = [
You can’t perform that action at this time.
0 commit comments