Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Developer Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Documentation
Docs
Developer Documentation
Commits
2736363e
Commit
2736363e
authored
7 years ago
by
Sean Madsen
Browse files
Options
Downloads
Patches
Plain Diff
Improve markdown
parent
89bfa3bd
No related branches found
Branches containing commit
No related tags found
1 merge request
!431
Add warning about TRUNCATE TABLE to PHPUnit Tests doc.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/testing/phpunit.md
+1
-1
1 addition, 1 deletion
docs/testing/phpunit.md
with
1 addition
and
1 deletion
docs/testing/phpunit.md
+
1
−
1
View file @
2736363e
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment