Since: 3.0.0
Author: Henry Ruhs
Inheritance: extends CommandAbstract
Example #1
0
 /**
  * testDatabaseInvalid
  *
  * @since 3.0.0
  */
 public function testDatabaseInvalid()
 {
     /* setup */
     $this->_request->setServer('argv', ['console.php', 'backup', 'database', '--no-interaction']);
     $backupCommand = new Command\Backup($this->_registry, $this->_request, $this->_config);
     /* actual */
     $actual = $backupCommand->run('cli');
     /* compare */
     $this->assertFalse($actual);
 }