Gc\Core\UpdaterTest::testUpdateDatabaseWithSqlError PHP Méthode

testUpdateDatabaseWithSqlError() public méthode

Test
public testUpdateDatabaseWithSqlError ( ) : void
Résultat void
    public function testUpdateDatabaseWithSqlError()
    {
        Stream::register();
        file_put_contents('zend.view://test-updater', 'SELECT something FROM core_config_data');
        $this->object->load('git');
        $configuration = Registry::get('Application')->getServiceManager()->get('Config');
        $this->assertFalse($this->object->updateDatabase($configuration, GlobalAdapterFeature::getStaticAdapter()));
    }