mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:05:16 +02:00
rename FixtureTest to FixtureTestCase
This commit is contained in:
parent
ee579280c7
commit
42b543cd24
25 changed files with 49 additions and 49 deletions
30
tests/FixtureTestCase.php
Normal file
30
tests/FixtureTestCase.php
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?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;
|
||||
|
||||
/**
|
||||
* Parent class for test cases requiring fixtures
|
||||
*/
|
||||
abstract class FixtureTestCase extends MockedTestCase
|
||||
{
|
||||
use FixtureTestTrait;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->setUpFixtures();
|
||||
}
|
||||
|
||||
protected function tearDown(): void
|
||||
{
|
||||
$this->tearDownFixtures();
|
||||
|
||||
parent::tearDown();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue