Skip to content

Commit 9b896f8

Browse files
committed
Fixing Travis tests
1 parent fbcc903 commit 9b896f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Mouf/Database/MagicQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ private function getSchemaAnalyzer() {
212212
if (!$this->schemaAnalyzer) {
213213
throw new MagicQueryMissingConnectionException('In order to use MagicJoin, you need to configure a DBAL connection.');
214214
}
215-
215+
216216
$this->schemaAnalyzer = new SchemaAnalyzer($this->connection->getSchemaManager()->createSchema());
217217
}
218218
return $this->schemaAnalyzer;

tests/Mouf/Database/MagicQueryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testStandardSelect()
4242
public function testWithCache() {
4343
$config = new \Doctrine\DBAL\Configuration();
4444
$connectionParams = array(
45-
'url' => 'mysql://root:@localhost/test',
45+
'url' => 'mysql://root:@localhost/',
4646
);
4747
$conn = \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
4848

0 commit comments

Comments
 (0)