public function testGetConfigurationFields() { $reader = new YamlReader(); $this->assertEquals(array('filePath' => array('system' => true), 'multiple' => array('system' => true)), $reader->getConfigurationFields()); }
public function testGetConfigurationFields() { $reader = new YamlReader(); $this->assertEquals(['filePath' => array('options' => array('label' => 'pim_base_connector.import.yamlFilePath.label', 'help' => 'pim_base_connector.import.yamlFilePath.help')), 'uploadAllowed' => array('type' => 'switch', 'options' => array('label' => 'pim_base_connector.import.uploadAllowed.label', 'help' => 'pim_base_connector.import.uploadAllowed.help'))], $reader->getConfigurationFields()); }