misc_pterodactyl-panel/tests/Unit/Http/Middleware/MiddlewareTestCase.php

24 lines
550 B
PHP
Raw Normal View History

2017-11-02 01:45:43 +00:00
<?php
namespace Tests\Unit\Http\Middleware;
use Tests\TestCase;
use Tests\Traits\Http\RequestMockHelpers;
2017-11-02 01:45:43 +00:00
use Tests\Traits\Http\MocksMiddlewareClosure;
use Tests\Assertions\MiddlewareAttributeAssertionsTrait;
abstract class MiddlewareTestCase extends TestCase
{
use MiddlewareAttributeAssertionsTrait, MocksMiddlewareClosure, RequestMockHelpers;
2017-11-02 01:45:43 +00:00
/**
* Setup tests with a mocked request object and normal attributes.
*/
public function setUp(): void
2017-11-02 01:45:43 +00:00
{
parent::setUp();
$this->buildRequestMock();
2017-11-02 01:45:43 +00:00
}
}