Test enhancements

This commit is contained in:
Philipp Holzer 2018-11-01 13:44:47 +01:00
parent 70f9d3c596
commit 83ead5ec48
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
12 changed files with 154 additions and 71 deletions

18
tests/MockedTest.php Normal file
View 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();
}
}