/** * @depends testGetProcessConfig */ public function testDeleteGroup() { $configData = "command=task-runner"; $this->configHandler->createConfig('test-process', $configData); $this->configHandler->getProcessConfig(); $this->assertFileExists($this->configDirPath . DIRECTORY_SEPARATOR . 'test-process.conf'); $this->configHandler->deleteGroup(); $this->assertFileNotExists($this->configDirPath . DIRECTORY_SEPARATOR . 'test-process.conf'); }
/** * Delete specified process configurations. * * @param bool|false $backup * @codeCoverageIgnore * * @return bool */ public function deleteProcess($backup = false) { return $this->_config->deleteGroup($backup); }