. */ declare(strict_types=1); namespace Tests\Feature\Controllers; use Log; use Tests\TestCase; /** * Class HomeControllerTest * * @SuppressWarnings(PHPMD.TooManyPublicMethods) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class DebugControllerTest extends TestCase { /** * */ public function setUp() { parent::setUp(); Log::debug(sprintf('Now in %s.', get_class($this))); } /** * @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); } }