Gc\Core\UpdaterTest::testUpdateDatabaseWithSqlError PHP Method

testUpdateDatabaseWithSqlError() public method

Test
    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()));
    }