mirror of
https://github.com/friendica/friendica
synced 2025-04-26 18:30:11 +00:00
Test enhancements
This commit is contained in:
parent
70f9d3c596
commit
83ead5ec48
12 changed files with 154 additions and 71 deletions
18
tests/MockedTest.php
Normal file
18
tests/MockedTest.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace Friendica\Test;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* This class verifies each mock after each call
|
||||
*/
|
||||
abstract class MockedTest extends TestCase
|
||||
{
|
||||
protected function tearDown()
|
||||
{
|
||||
\Mockery::close();
|
||||
|
||||
parent::tearDown();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue