Skip to content

Commit

Permalink
test sqlite with :memory: engine
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Apr 13, 2015
1 parent dda1b45 commit 323b70b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions db/config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@ schema:
# - { host: localhost, port: 11211 }
data_sources:
default:
dsn: 'sqlite::memory:'
# dsn: 'sqlite:tests.db'
dsn: 'sqlite:testing.sqlite3'
# dsn: 'sqlite::memory:'
user:
pass:
pgsql:
dsn: 'pgsql:host=localhost;dbname=testing'
user: postgres
mysql:
dsn: 'mysql:host=localhost;dbname=testing'
user: testing
# slave:
# dsn: 'mysql:host=localhost;dbname=test'
# user: root
Expand Down
1 change: 1 addition & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
'default' =>
array (
'dsn' => 'sqlite::memory:',
// 'dsn' => 'sqlite:testing.sqlite3',
'user' => NULL,
'pass' => NULL,
),
Expand Down

0 comments on commit 323b70b

Please sign in to comment.