Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix testing with a real DBs #1675

Merged
merged 32 commits into from
Oct 10, 2021
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
985829b
fix stan
mvorisek Oct 7, 2021
d2f17bc
rename Docker env var from DSN to DB_DSN for consistency
mvorisek Oct 7, 2021
9f0226f
rename create-sqlite-db.php to create-db.php
mvorisek Oct 7, 2021
b106c48
do not try to drop tables
mvorisek Oct 7, 2021
89f3201
test with real DB
mvorisek Oct 7, 2021
0d7e156
opcache everywhere
mvorisek Oct 7, 2021
ef7f9d2
fix hostname
mvorisek Oct 7, 2021
4be4a8a
disable pgsql
mvorisek Oct 7, 2021
e487e75
disable Oracle
mvorisek Oct 7, 2021
a2d4247
unify
mvorisek Oct 7, 2021
51295d7
enable all disable DBs
mvorisek Oct 7, 2021
6d09c88
fix burn testing
mvorisek Oct 7, 2021
1283a29
DEBUG copy data#0e67e21ddf0160774e699532f038b7e492dee711
mvorisek Oct 7, 2021
6278308
fix non-Oracle only data issues
mvorisek Oct 8, 2021
108cef0
with hashed too long table name
mvorisek Oct 8, 2021
800ca29
short fieldname
mvorisek Oct 8, 2021
1125121
fix unit
mvorisek Oct 8, 2021
a19373c
fix Behat
mvorisek Oct 8, 2021
d35458b
no http phpunit tests for Oracle
mvorisek Oct 8, 2021
8b3f443
fix field captions
mvorisek Oct 8, 2021
19340a4
make user different than db name
mvorisek Oct 8, 2021
764be36
run behat on all DBs
mvorisek Oct 8, 2021
edbb01b
Revert "DEBUG copy data..." but keep changed files for now
mvorisek Oct 8, 2021
1c5df59
Revert "DEBUG copy data..." complete
mvorisek Oct 8, 2021
e7bb717
fix stan
mvorisek Oct 8, 2021
005b9a0
fix typo
mvorisek Oct 8, 2021
be04439
DEBUG test with custom atk4/data
mvorisek Oct 8, 2021
d14a849
Revert "DEBUG test with custom atk4/data"
mvorisek Oct 8, 2021
ff8e67d
test Behat with DBs once per push only
mvorisek Oct 9, 2021
6178f96
must use env for phpunit config
mvorisek Oct 9, 2021
59313df
DSN must not be in-memory to persist the demo DB
mvorisek Oct 10, 2021
f693131
drop env from phpunit config completely
mvorisek Oct 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
DSN must not be in-memory to persist the demo DB
mvorisek committed Oct 10, 2021
commit 59313dfa3f3be194e7b0b1ccc78b3892afad94e2
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<phpunit bootstrap="vendor/autoload.php" printerClass="Atk4\Core\Phpunit\ResultPrinter" colors="true">
<php>
<env name="DB_DSN" value="sqlite::memory:" />
<env name="DB_DSN" value="" />
<env name="DB_USER" value="" />
<env name="DB_PASSWD" value="" />
</php>