Skip to content

Commit 60dc36c

Browse files
committed
MC-19633: Disabled Products Do Not Appear in Search Results of Link Attribute
- fix test
1 parent 54d6fa0 commit 60dc36c

File tree

1 file changed

+2
-2
lines changed
  • dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/SearchTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function testExecuteEnabledAndDisabledProducts() : void
7575
$this->dispatch('backend/catalog/product/search');
7676
$responseBody = $this->getResponse()->getBody();
7777
$jsonResponse = json_decode($responseBody, true);
78-
$this->assertEquals(7, $jsonResponse['total']);
79-
$this->assertCount(7, $jsonResponse['options']);
78+
$this->assertEquals(6, $jsonResponse['total']);
79+
$this->assertCount(6, $jsonResponse['options']);
8080
}
8181
}

0 commit comments

Comments
 (0)