From a6bc4afc3c3f9c2283fbb4fc0f201ba59036a5f9 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sat, 23 Jun 2018 21:56:03 +0300 Subject: [PATCH] Test SQLite database included. --- .env.dist | 2 +- tests/database/database.sqlite3 | Bin 0 -> 49152 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 tests/database/database.sqlite3 diff --git a/.env.dist b/.env.dist index 3c5baaa..f256ff0 100644 --- a/.env.dist +++ b/.env.dist @@ -14,5 +14,5 @@ APP_SECRET=xxx # For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db" # Configure your db driver and server_version in config/packages/doctrine.yaml APP_DATABASE_URL=pdo_pgsql://$PGUSER:$PGPASSWORD@127.0.0.1:5436/test?application_name=magnetico_web -MAGNETICOD_DATABASE_URL=sqlite:////home/magnetico/.local/share/magneticod/database.sqlite3 +MAGNETICOD_DATABASE_URL=sqlite:///%kernel.project_dir%/tests/database/database.sqlite3 ###< doctrine/doctrine-bundle ### diff --git a/tests/database/database.sqlite3 b/tests/database/database.sqlite3 new file mode 100644 index 0000000000000000000000000000000000000000..1a54f0575a402c0c04ab2c96fc111db3b5fc6105 GIT binary patch literal 49152 zcmeHwcU%+M7w;rYLPwo#%5zaVljqc&hU>9|EP~X0G#>*ezO|jZ$W3wuFE)q=pCldPsfC7MTdj~1rr30 z{Il>U^I5StblK27h^%5u?X48aN~^vcu9;0cRxTmEiC{`2ZX?-E zGBs9RmuRI9!}ZO~%vhSSIq?apD&o$>|2SG{(Z0Qc<&;LrO0n(}7#c0_Esqq3M+S!Y zM#hSRh9bRv~F4%HGs(b|Wd&w_?kN#sXETA~dj< z*f%CREHD(V50QsP+v;kCELgALuwJ@iiDNU`5pOO-b3Cg-WFapZyZm>>%+6>wJ>^b zbi-)B(Q>27M%hOFjCvY%GSWAEWO&MOi{Tu@Lc^hkA%;$dtqndK)EOK$SZy%fV3ffi z1DS!Pfk6L-{ssM=`akNI>Zj^Q>bvW=*Vp6T;~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