mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 03:25:15 +02:00
Rename MockedTest to MockedTestCase
This commit is contained in:
parent
9a28eee477
commit
ee579280c7
51 changed files with 99 additions and 117 deletions
23
tests/MockedTestCase.php
Normal file
23
tests/MockedTestCase.php
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?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;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* This class verifies each mock after each call
|
||||
*/
|
||||
abstract class MockedTestCase extends TestCase
|
||||
{
|
||||
protected function tearDown() : void
|
||||
{
|
||||
\Mockery::close();
|
||||
|
||||
parent::tearDown();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue