summaryrefslogtreecommitdiff
path: root/tests/TestCase.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2018-12-30 21:07:33 +0000
committerGitHub <noreply@github.com>2018-12-30 21:07:33 +0000
commita49feaba99650e3f877939452f9959345feeda67 (patch)
treecb8ca78e4f2cf79e40b991ff3ba306394a0dd664 /tests/TestCase.php
parent061b43d78e753dc0c2b6d7c1767d279b5f5aeee9 (diff)
downloadwebtrees-a49feaba99650e3f877939452f9959345feeda67.tar.gz
webtrees-a49feaba99650e3f877939452f9959345feeda67.tar.bz2
webtrees-a49feaba99650e3f877939452f9959345feeda67.zip
Apply fixes from StyleCI (#2078)
Diffstat (limited to 'tests/TestCase.php')
-rw-r--r--tests/TestCase.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/TestCase.php b/tests/TestCase.php
index 12bc86e3c0..3fcfbc435b 100644
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -80,7 +80,8 @@ class TestCase extends \PHPUnit\Framework\TestCase
/**
* Things to run after every test
*/
- protected function tearDown() {
+ protected function tearDown()
+ {
if (static::$uses_database && static::$uses_transactions) {
DB::connection()->rollBack();
}