. */ declare(strict_types=1); namespace Tests\Feature\Controllers\Admin; use Tests\TestCase; /** * Class HomeControllerTest * * @package Tests\Feature\Controllers\Admin * @SuppressWarnings(PHPMD.TooManyPublicMethods) * @SuppressWarnings(PHPMD.ExcessiveMethodLength) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class HomeControllerTest extends TestCase { /** * @covers \FireflyIII\Http\Controllers\Admin\HomeController::index */ public function testIndex() { $this->be($this->user()); $response = $this->get(route('admin.index')); $response->assertStatus(200); // has bread crumb $response->assertSee('