/** * Tests ConfigEntityMapper::getOperations(). */ public function testGetOperations() { $result = $this->configEntityMapper->getOperations(); $expected = array('list' => array('title' => 'List', 'url' => Url::fromRoute('config_translation.entity_list', ['mapper_id' => 'configurable_language']))); $this->assertEquals($expected, $result); }
/** * Tests ConfigEntityMapper::getOperations(). */ public function testGetOperations() { $result = $this->configEntityMapper->getOperations(); $expected = array('list' => array('title' => 'List', 'href' => 'admin/config/regional/config-translation/language_entity')); $this->assertSame($expected, $result); }