Skip to content

Commit b443397

Browse files
committed
MC-37902: Create automated test for "Paging and sort by function on widget grid"
1 parent 1886177 commit b443397

File tree

1 file changed

+1
-2
lines changed
  • dev/tests/integration/testsuite/Magento/Widget/Block/Adminhtml/Widget

1 file changed

+1
-2
lines changed

dev/tests/integration/testsuite/Magento/Widget/Block/Adminhtml/Widget/InstanceTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function gridFiltersDataProvider(): array
128128
),
129129
],
130130
'expected_widgets' => [
131-
'recently compared products'
131+
'recently compared products',
132132
],
133133
],
134134
];
@@ -147,7 +147,6 @@ public function testGridSorting(array $filter, array $expectedWidgets): void
147147
{
148148
$this->request->setParams($filter);
149149
$collection = $this->getGridCollection();
150-
$this->assertCount(count($expectedWidgets), $collection);
151150
$this->assertEquals($expectedWidgets, $collection->getColumnValues('title'));
152151
}
153152

0 commit comments

Comments
 (0)