Extends
lithium\test\Integration
Skip the test if no test database connection available.
Source
public function skip() {
$connection = 'lithium_couch_test';
$config = Connections::get($connection, array('config' => true));
$isAvailable = (
$config &&
Connections::get($connection)->isConnected(array('autoConnect' => true))
);
$this->skipIf(!$isAvailable, "No {$connection} connection available.");
Companies::config();
$this->_key = Companies::key();
$this->_database = $config['database'];
$this->_connection = Connections::get($connection);
}