Skip to content

Commit

Permalink
Fix failing testWrongCredentials test
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Oct 13, 2014
1 parent 0e744bf commit 249b792
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/TestCase/Database/ConnectionTest.php
Expand Up @@ -114,6 +114,7 @@ public function testDisabledDriver() {
*/
public function testWrongCredentials() {
$config = ConnectionManager::config('test');
$this->skipIf(isset($config['url']), 'Datasource has dsn, skipping.');
$connection = new Connection(['database' => '_probably_not_there_'] + ConnectionManager::config('test'));
$connection->connect();
}
Expand Down

0 comments on commit 249b792

Please sign in to comment.