Skip to content

Commit

Permalink
Fix skipping test.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Oct 2, 2014
1 parent d297935 commit b3dafde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/Db/test/Horde/Db/Adapter/Oci8Test.php
Expand Up @@ -41,10 +41,10 @@ protected static function _getConnection($overrides = array())
'username' => '',
'password' => '',
'dbname' => 'test'));
if (isset($config['db']['adapter']['oci8']['test'])) {
if (isset($config['db']['adapter']['oci8']['test']) &&
is_array($config['db']['adapter']['oci8']['test'])) {
$config = $config['db']['adapter']['oci8']['test'];
}
if (!is_array($config)) {
} else {
self::$_skip = true;
self::$_reason = 'No configuration for oci8 test';
return;
Expand Down

0 comments on commit b3dafde

Please sign in to comment.