public function SearchApiEtHelperTest::testGetGroupedItemsIdsByEntity in Search API Entity Translation 7.2
@dataProvider dataProviderGetGroupedItemsIdsByEntity
Parameters
$expected:
$items:
File
- tests/
SearchApiEtHelperTest.php, line 84 - Helper class for SearchAPI ET
Class
- SearchApiEtHelperTest
- @file Helper class for SearchAPI ET
Code
public function testGetGroupedItemsIdsByEntity($expected, $items) {
$grouped_items = SearchApiEtHelper::getGroupedItemsIdsByEntity($items);
$this
->assertEquals($expected, $grouped_items);
}