matrix-api/tests/TestCase.php

28 lines
562 B
PHP
Raw Normal View History

2024-03-16 00:08:24 +01:00
<?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);
}
}