1
0
mirror of https://github.com/flarum/core.git synced 2025-07-25 10:41:24 +02:00
Files
php-flarum/tests/Test/TestCase.php
Franz Liedke a061eda019 Change namespace of test classes
(as implemented by @luceos in his WIP PR)
2018-03-04 00:01:49 +01:00

31 lines
574 B
PHP

<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Flarum\Tests\Test;
use Mockery;
use PHPUnit\Framework\TestCase as Test;
abstract class TestCase extends Test
{
public function setUp()
{
Mockery::close();
$this->init();
}
protected function init()
{
// To be overloaded by children - saves having to do setUp/mockery::close every time
}
}