mirror of
https://github.com/friendica/friendica
synced 2025-04-27 00:30:10 +00:00
rename DatabaseTest to DatabaseTestCase
This commit is contained in:
parent
c00a7c571a
commit
4f02c9ca88
9 changed files with 14 additions and 14 deletions
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
|
||||
// Copyright (C) 2010-2024, the Friendica project
|
||||
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
||||
//
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
namespace Friendica\Test;
|
||||
|
||||
/**
|
||||
* Abstract class used by tests that need a database.
|
||||
*/
|
||||
abstract class DatabaseTest extends MockedTestCase
|
||||
{
|
||||
use DatabaseTestTrait;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->setUpDb();
|
||||
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
protected function tearDown(): void
|
||||
{
|
||||
$this->tearDownDb();
|
||||
|
||||
parent::tearDown();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue