summaryrefslogtreecommitdiffstats
path: root/tests/lib/Accounts/AccountsManagerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Accounts/AccountsManagerTest.php')
-rw-r--r--tests/lib/Accounts/AccountsManagerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Accounts/AccountsManagerTest.php b/tests/lib/Accounts/AccountsManagerTest.php
index 3204eca8bbb..d727f05d1ef 100644
--- a/tests/lib/Accounts/AccountsManagerTest.php
+++ b/tests/lib/Accounts/AccountsManagerTest.php
@@ -51,7 +51,7 @@ class AccountsManagerTest extends TestCase {
/** @var string accounts table name */
private $table = 'accounts';
- public function setUp(): void {
+ protected function setUp(): void {
parent::setUp();
$this->eventDispatcher = $this->getMockBuilder('Symfony\Component\EventDispatcher\EventDispatcherInterface')
->disableOriginalConstructor()->getMock();
@@ -59,7 +59,7 @@ class AccountsManagerTest extends TestCase {
$this->jobList = $this->getMockBuilder(IJobList::class)->getMock();
}
- public function tearDown(): void {
+ protected function tearDown(): void {
parent::tearDown();
$query = $this->connection->getQueryBuilder();
$query->delete($this->table)->execute();