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

@@ -50,7 +50,7 @@ class SearchControllerTest extends TestCase
* @covers \FireflyIII\Http\Controllers\SearchController::index
* @covers \FireflyIII\Http\Controllers\SearchController::__construct
*/
public function testIndex()
public function testIndex(): void
{
$search = $this->mock(SearchInterface::class);
$search->shouldReceive('parseQuery')->once();
@@ -65,7 +65,7 @@ class SearchControllerTest extends TestCase
* @covers \FireflyIII\Http\Controllers\SearchController::search
* @covers \FireflyIII\Http\Controllers\SearchController::__construct
*/
public function testSearch()
public function testSearch(): void
{
$search = $this->mock(SearchInterface::class);
$search->shouldReceive('parseQuery')->once();