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:
committed by
Daniël Klabbers
parent
9d2595d531
commit
c5e38a5b1f
@@ -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
|
||||
|
Reference in New Issue
Block a user