Skip to content
Snippets Groups Projects
Commit 279a144e authored by totten's avatar totten
Browse files

testing/phpunit.md - Use a paragraph!

The second statement doesn't make much sense without the first statement.
Put them together.
parent 6204ccdb
No related branches found
No related tags found
No related merge requests found
......@@ -94,10 +94,9 @@ with that there are two methods:
Sometimes it will be convenient to prepare test data for whole test case -
in such case, you will want to put all the test data creation code in there.
Another option is for your test to implement `TransactionalInterface`.
That will guarantee that each test will be wrapped in a Transaction, that will
rollback automatically at the end of the test.
Another option is for your test to implement `TransactionalInterface`. That
will guarantee that each test will be wrapped in a SQL transaction which
automatically rolls back any database changes.
!!! warning
Schema changes in your test will cause an auto-commit of all changes, and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment