Browse Source

modified DB connection settings

master
Anton Grebnev 13 years ago
parent
commit
9a0a283470
  1. 4
      tests/model/MySQLiDriverTest.php

4
tests/model/MySQLiDriverTest.php

@ -89,8 +89,8 @@ class MySQLiDriverTest extends PHPUnit_Extensions_Database_TestCase
define('DEBUG', false);
}
$conf = array('hostname' => 'localhost', 'database' => 'nodb', 'username' => 'root', 'password' => '1234');
$driver = new MySQLiDriver($conf);
$this->conf['database'] = 'nodb';
$driver = new MySQLiDriver($this->conf);
$this->assertNull('mysqli', $driver->getConnection());
}

Loading…
Cancel
Save