mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Update test code.
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user