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

@@ -38,7 +38,7 @@ class AssetAccountIbansTest extends TestCase
/**
* @covers \FireflyIII\Import\Mapper\AssetAccountIbans::getMap()
*/
public function testGetMapBasic()
public function testGetMapBasic(): void
{
$one = new Account;
$one->id = 17;

View File

@@ -38,7 +38,7 @@ class AssetAccountsTest extends TestCase
/**
* @covers \FireflyIII\Import\Mapper\AssetAccounts::getMap()
*/
public function testGetMapBasic()
public function testGetMapBasic(): void
{
$one = new Account;
$one->id = 23;

View File

@@ -24,7 +24,6 @@ declare(strict_types=1);
namespace Tests\Unit\Import\Mapper;
use FireflyIII\Import\Mapper\Bills;
use FireflyIII\Models\Account;
use FireflyIII\Models\Bill;
use FireflyIII\Repositories\Bill\BillRepositoryInterface;
use Illuminate\Support\Collection;
@@ -38,7 +37,7 @@ class BillsTest extends TestCase
/**
* @covers \FireflyIII\Import\Mapper\Bills::getMap()
*/
public function testGetMapBasic()
public function testGetMapBasic(): void
{
$one = new Bill;
$one->id = 5;

View File

@@ -37,7 +37,7 @@ class BudgetsTest extends TestCase
/**
* @covers \FireflyIII\Import\Mapper\Budgets::getMap()
*/
public function testGetMapBasic()
public function testGetMapBasic(): void
{
$one = new Budget;
$one->id = 8;

View File

@@ -37,7 +37,7 @@ class CategoriesTest extends TestCase
/**
* @covers \FireflyIII\Import\Mapper\Categories::getMap()
*/
public function testGetMapBasic()
public function testGetMapBasic(): void
{
$one = new Category;
$one->id = 9;

View File

@@ -38,7 +38,7 @@ class OpposingAccountIbansTest extends TestCase
/**
* @covers \FireflyIII\Import\Mapper\OpposingAccountIbans::getMap()
*/
public function testGetMapBasic()
public function testGetMapBasic(): void
{
$one = new Account;
$one->id = 21;

View File

@@ -38,7 +38,7 @@ class OpposingAccountsTest extends TestCase
/**
* @covers \FireflyIII\Import\Mapper\OpposingAccounts::getMap()
*/
public function testGetMapBasic()
public function testGetMapBasic(): void
{
$one = new Account;
$one->id = 13;

View File

@@ -37,7 +37,7 @@ class TagsTest extends TestCase
/**
* @covers \FireflyIII\Import\Mapper\Tags::getMap()
*/
public function testGetMapBasic()
public function testGetMapBasic(): void
{
$one = new Tag;
$one->id = 12;

View File

@@ -37,7 +37,7 @@ class TransactionCurrenciesTest extends TestCase
/**
* @covers \FireflyIII\Import\Mapper\TransactionCurrencies::getMap()
*/
public function testGetMapBasic()
public function testGetMapBasic(): void
{
$one = new TransactionCurrency;
$one->id = 9;