avoid null password in connexions.yml

fix typo
This commit is contained in:
Nicolas Le Goff
2012-08-23 19:58:01 +02:00
parent eea0faf5f3
commit a799fd8d6f
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ main_connexion:
host: localhost
port: '3306'
user: root
password:
password: ''
dbname: ab_test
driver: pdo_mysql
charset: UTF8

View File

@@ -171,7 +171,7 @@ class DataboxTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
$connexion = $configuration->getConnexion($choosenConnexion);
try {
$conn = new \connection_pdo('databox_creation', $connexion->get('host'), $connexion->get('port'), $connexion->get('user'), $connexion->get('password', ''), $dbName, array(), $registry);
$conn = new \connection_pdo('databox_creation', $connexion->get('host'), $connexion->get('port'), $connexion->get('user'), $connexion->get('password'), $dbName, array(), $registry);
} catch (\PDOException $e) {
$this->markTestSkipped('Could not reach DB');