28 lines
562 B
PHP
28 lines
562 B
PHP
<?php
|
|
|
|
namespace Zoomyboy\MatrixApi\Tests;
|
|
|
|
use Orchestra\Testbench\Concerns\WithWorkbench;
|
|
use Orchestra\Testbench\TestCase as TestbenchTestCase;
|
|
use Zoomyboy\MatrixApi\ServiceProvider;
|
|
use Zoomyboy\MatrixApi\Tests\Fakes\HttpFake;
|
|
|
|
class TestCase extends TestbenchTestCase
|
|
{
|
|
use WithWorkbench;
|
|
|
|
public HttpFake $httpFake;
|
|
|
|
public function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
|
|
$this->httpFake = app(HttpFake::class);
|
|
}
|
|
|
|
protected function defineEnvironment($app)
|
|
{
|
|
$app->register(ServiceProvider::class);
|
|
}
|
|
}
|