-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
refactor: extract reset:migration tests in another testsuite #692
base: 2.x
Are you sure you want to change the base?
refactor: extract reset:migration tests in another testsuite #692
Conversation
9a26a24
to
3257095
Compare
4f970e6
to
e424193
Compare
- database: mysql | ||
with-migration-configuration-file: 'tests/Fixture/MigrationTests/configs/migration-configuration-transactional.php' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also discovered that for an obscure reason, transactional mode + MySQL is buggy - at least in our tests, I'm not using MySQL currently in my day-to-day job, so I can live with this. If a user comes with a problem around it, I'll dig a little bit more!
6e4426a
to
284f4c6
Compare
if (self::$inFirstTest) { | ||
self::$inFirstTest = false; | ||
|
||
return; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prevents the to run twice the schema create in the first test, when not using dama.
205e46b
to
f110081
Compare
f110081
to
71a0d5e
Compare
71a0d5e
to
acbe1dd
Compare
This is an experiment, in order to take "reset: migrate" permutation in another testsuite
(by the way, this fixes #694)