public testUpdateDatabaseWithEmptyFiles ( ) : void | ||
return | void |
public function testUpdateDatabaseWithEmptyFiles()
{
Stream::register();
file_put_contents('zend.view://test-updater', ' ');
$this->object->load('git');
$configuration = Registry::get('Application')->getServiceManager()->get('Config');
$this->assertTrue($this->object->updateDatabase($configuration, GlobalAdapterFeature::getStaticAdapter()));
}