. */ declare(strict_types=1); namespace Tests\Feature\Controllers; use Tests\TestCase; /** * Class HomeControllerTest * * @SuppressWarnings(PHPMD.TooManyPublicMethods) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class DebugControllerTest extends TestCase { /** * @covers \FireflyIII\Http\Controllers\DebugController::index * @covers \FireflyIII\Http\Controllers\DebugController::__construct * @covers \FireflyIII\Http\Controllers\DebugController::errorReporting * @covers \FireflyIII\Http\Controllers\DebugController::collectPackages */ public function testIndex() { $this->be($this->user()); $response = $this->get(route('debug')); $response->assertStatus(200); } }