Since: 3.0.0
Author: Henry Ruhs
Inheritance: extends CommandAbstract
コード例 #1
0
ファイル: ConfigTest.php プロジェクト: redaxmedia/redaxscript
 /**
  * testLock
  *
  * @since 3.0.0
  */
 public function testLock()
 {
     /* setup */
     $this->_config->init(Stream::url('root/config.php'));
     $this->_request->setServer('argv', ['console.php', 'config', 'lock']);
     $configCommand = new Command\Config($this->_registry, $this->_request, $this->_config);
     /* actual */
     $actual = $configCommand->run('cli');
     /* compare */
     $this->assertTrue($actual);
 }