Gc\Core\UpdaterTest::testUpdateDatabase PHP Method

testUpdateDatabase() public method

Test
public testUpdateDatabase ( ) : void
return void
    public function testUpdateDatabase()
    {
        Stream::register();
        file_put_contents('zend.view://test-updater', 'INSERT INTO core_config_data (identifier, value) VALUES (1, 1);' . 'INSERT INTO core_config_data (identifier, value) VALUES (2, 2);');
        $this->object->load('git');
        $configuration = Registry::get('Application')->getServiceManager()->get('Config');
        $this->assertTrue($this->object->updateDatabase($configuration, GlobalAdapterFeature::getStaticAdapter()));
    }