Skip to content

Commit f9c6a6d

Browse files
committed
Move parent method calls at beginning
1 parent 1631b80 commit f9c6a6d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/system/Commands/CreateDatabaseTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,23 @@ final class CreateDatabaseTest extends CIUnitTestCase
3131

3232
protected function setUp(): void
3333
{
34+
parent::setUp();
35+
3436
CITestStreamFilter::$buffer = '';
3537

3638
$this->streamFilter = stream_filter_append(STDOUT, 'CITestStreamFilter');
3739
$this->streamFilter = stream_filter_append(STDERR, 'CITestStreamFilter');
3840
$this->connection = Database::connect();
3941

40-
parent::setUp();
4142
$this->dropDatabase();
4243
}
4344

4445
protected function tearDown(): void
4546
{
47+
parent::tearDown();
48+
4649
stream_filter_remove($this->streamFilter);
4750

48-
parent::tearDown();
4951
$this->dropDatabase();
5052
}
5153

0 commit comments

Comments
 (0)