friendica-github/tests/MockedTest.php

24 lines
418 B
PHP
Raw Normal View History

2018-11-01 12:44:47 +00:00
<?php
2024-08-24 12:31:41 +00:00
// Copyright (C) 2010-2024, the Friendica project
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
//
// SPDX-License-Identifier: AGPL-3.0-or-later
2018-11-01 12:44:47 +00:00
namespace Friendica\Test;
use PHPUnit\Framework\TestCase;
/**
* This class verifies each mock after each call
*/
abstract class MockedTest extends TestCase
{
protected function tearDown() : void
2018-11-01 12:44:47 +00:00
{
\Mockery::close();
parent::tearDown();
}
}