diff --git a/php-packages/testing/tests/unit/TestCase.php b/php-packages/testing/tests/unit/TestCase.php new file mode 100644 index 000000000..8c87018b6 --- /dev/null +++ b/php-packages/testing/tests/unit/TestCase.php @@ -0,0 +1,20 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Flarum\Tests\unit; + +use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration; + +abstract class TestCase extends \PHPUnit\Framework\TestCase +{ + // Ensure Mockery is always torn down automatically after each test. + use MockeryPHPUnitIntegration; +}