firefly-iii/tests/Feature/Controllers/Admin/HomeControllerTest.php

37 lines
836 B
PHP
Raw Normal View History

2017-02-12 06:23:08 -06:00
<?php
/**
* HomeControllerTest.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
declare(strict_types = 1);
namespace Tests\Feature\Controllers\Admin;
use Tests\TestCase;
2017-03-12 03:22:33 -05:00
/**
* Class HomeControllerTest
*
* @package Tests\Feature\Controllers\Admin
*/
2017-02-12 06:23:08 -06:00
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('<ol class="breadcrumb">');
}
2017-02-16 15:33:32 -06:00
}