Skip to content

Commit 9522319

Browse files
committed
MAGETWO-59282: Correct catalog massstatus update unit test.
1 parent 6b11350 commit 9522319

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Product/MassStatusTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ protected function setUp()
123123

124124
public function testMassStatusAction()
125125
{
126-
$storeId = 1;
126+
$storeId = 2;
127127
$status = \Magento\Catalog\Model\Product\Attribute\Source\Status::STATUS_DISABLED;
128128
$filters = [
129129
'store_id' => 2,
@@ -138,7 +138,7 @@ public function testMassStatusAction()
138138
$this->request->expects($this->exactly(3))
139139
->method('getParam')
140140
->willReturnMap([
141-
['store', 0, $storeId],
141+
['store', null, $storeId],
142142
['status', null, $status],
143143
['filters', [], $filters]
144144
]);

0 commit comments

Comments
 (0)