Update test code.

This commit is contained in:
James Cole
2018-05-11 19:58:10 +02:00
parent 9bb4df4cc3
commit 4d6bc55723
174 changed files with 2138 additions and 940 deletions

View File

@@ -49,7 +49,7 @@ class HomeControllerTest extends TestCase
* @covers \FireflyIII\Http\Controllers\Admin\HomeController::index
* @covers \FireflyIII\Http\Controllers\Admin\HomeController::__construct
*/
public function testIndex()
public function testIndex(): void
{
$this->be($this->user());
$response = $this->get(route('admin.index'));
@@ -58,7 +58,7 @@ class HomeControllerTest extends TestCase
$response->assertSee('<ol class="breadcrumb">');
}
public function testTestMessage()
public function testTestMessage(): void
{
Event::fake();