Skip to content

Commit 6350418

Browse files
committed
MC-14937: Complete Page Builder Analytics data collection
- fix array format of returned data and update tests
1 parent d556c94 commit 6350418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/CmsPageBuilderAnalytics/Model/ContentTypeUsageReportProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testGetReport($expectedReportData, $ignoredContentTypes)
5252
}
5353

5454
// Verify we have expected report data for the content type
55-
if (!isset($expectedReportData[$reportItem[0]])) {
55+
if (!isset($expectedReportData[$reportItem['type']])) {
5656
$this->fail('There is no report data for ' . $reportItem['type'] . '.');
5757
}
5858

0 commit comments

Comments
 (0)