diff --git a/docs/testing/phpunit.md b/docs/testing/phpunit.md index ffae14bd346069f9df15e973436dd4e818b2bc7b..a8533b841ba31565a25eed4c59bee479bc5986fe 100644 --- a/docs/testing/phpunit.md +++ b/docs/testing/phpunit.md @@ -98,7 +98,7 @@ rollback automatically at the end of the test. !!! warning Schema changes in your test will cause an auto-commit of all changes, and - therefore the transaction will be ignored. This includes TRUNCATE TABLE, + therefore the transaction will be ignored. This includes `TRUNCATE TABLE`, because this implicitly drops and re-creates the table. If your tests create custom tables or change the database schema please be aware you may need to manually reset it.