Skip to content

Commit

Permalink
Fixing connection string for sqlite in the test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Nov 1, 2014
1 parent b552692 commit d65f63a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Expand Up @@ -33,7 +33,7 @@
</listeners>
<php>
<!-- SQLite
<env name="db_dsn" value="sqlite:///memory:"/>
<env name="db_dsn" value="sqlite://:memory:"/>
-->
<!-- Postgres
<env name="db_dsn" value="postgres://localhost/cake_test"/>
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Expand Up @@ -98,7 +98,7 @@

// Ensure default test connection is defined
if (!getenv('db_dsn')) {
putenv('db_dsn=sqlite:///memory:');
putenv('db_dsn=sqlite://:memory:');
}

ConnectionManager::config('test', ['url' => getenv('db_dsn')]);
Expand Down

0 comments on commit d65f63a

Please sign in to comment.