framework/tests/integration/TestCase.php

32 lines
619 B
PHP
Raw Normal View History

<?php
2016-02-26 11:09:39 +08:00
/*
* 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\integration;
2017-10-05 19:57:31 +08:00
use PHPUnit\Framework\TestCase as Test;
2017-10-05 19:57:31 +08:00
abstract class TestCase extends Test
{
use CreatesForum,
MakesApiRequests;
public function setUp()
{
$this->refreshApplication();
$this->init();
}
protected function init()
{
// .. allows implementation by children without the need to call the parent.
}
}