-
-
Save ahonymous/58e059d18ce11fbd1a9cc175d035d3f9 to your computer and use it in GitHub Desktop.
example config_test.yml for using alternative db
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parameters: | |
test_db_path: "%kernel.cache_dir%/db.sqlite" //the real path of DB for the test | |
default_db_path: "%kernel.cache_dir%/Resources/private/tests/snapshot.sqlite" //is the real path of DB for snapshot | |
doctrine: | |
dbal: | |
default_connection: default | |
connections: | |
default: | |
driver: pdo_sqlite | |
memory: true | |
charset: UTF8 | |
mapping_types: | |
enum: string | |
path: "%test_db_path%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment