We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38d7aaa commit 9fd3712Copy full SHA for 9fd3712
app/code/Magento/Cms/Test/Unit/Ui/Component/Listing/DataProviderTest.php
@@ -167,4 +167,24 @@ public function testPrepareMetadata(): void
167
$this->dataProvider->prepareMetadata()
168
);
169
}
170
+
171
+ /**
172
+ * @covers \Magento\Cms\Ui\Component\DataProvider::prepareMetadata
173
+ */
174
+ public function testPrepareMetadataForCmsBlockListing(): void
175
+ {
176
+ $name = 'cms_block_listing_data_source';
177
178
+ $this->dataProvider = new DataProvider(
179
+ $name,
180
+ $this->primaryFieldName,
181
+ $this->requestFieldName,
182
+ $this->reportingMock,
183
+ $this->searchCriteriaBuilderMock,
184
+ $this->requestInterfaceMock,
185
+ $this->filterBuilderMock
186
+ );
187
188
+ $this->assertEquals([], $this->dataProvider->prepareMetadata());
189
+ }
190
0 commit comments