1
0
mirror of https://github.com/flarum/core.git synced 2025-08-07 00:47:00 +02:00

Automatically set up Mockery for unit tests

- Use provided PhpUnit listener to enforce verification of expectations.
- Include Mockery's trait to auto-close Mockery after each test.
This commit is contained in:
Franz Liedke
2019-11-21 00:51:11 +01:00
committed by Daniël Klabbers
parent 9d2595d531
commit c5e38a5b1f
7 changed files with 29 additions and 6 deletions

View File

@@ -9,10 +9,10 @@
* file that was distributed with this source code.
*/
namespace Flarum\Tests\unit;
namespace Flarum\Tests\unit\Install;
use Flarum\Install\BaseUrl;
use PHPUnit\Framework\TestCase;
use Flarum\Tests\unit\TestCase;
use Zend\Diactoros\Uri;
class BaseUrlTest extends TestCase