mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
avoid null password in connexions.yml
fix typo
This commit is contained in:
@@ -2,7 +2,7 @@ main_connexion:
|
|||||||
host: localhost
|
host: localhost
|
||||||
port: '3306'
|
port: '3306'
|
||||||
user: root
|
user: root
|
||||||
password:
|
password: ''
|
||||||
dbname: ab_test
|
dbname: ab_test
|
||||||
driver: pdo_mysql
|
driver: pdo_mysql
|
||||||
charset: UTF8
|
charset: UTF8
|
||||||
|
@@ -171,7 +171,7 @@ class DataboxTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
|||||||
$connexion = $configuration->getConnexion($choosenConnexion);
|
$connexion = $configuration->getConnexion($choosenConnexion);
|
||||||
|
|
||||||
try {
|
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) {
|
} catch (\PDOException $e) {
|
||||||
|
|
||||||
$this->markTestSkipped('Could not reach DB');
|
$this->markTestSkipped('Could not reach DB');
|
||||||
|
Reference in New Issue
Block a user