mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 15:39:50 +00:00
Update test code.
This commit is contained in:
@@ -36,7 +36,7 @@ class TransactionCurrencyFactoryTest extends TestCase
|
||||
/**
|
||||
* @covers \FireflyIII\Factory\TransactionCurrencyFactory
|
||||
*/
|
||||
public function testCreate()
|
||||
public function testCreate(): void
|
||||
{
|
||||
/** @var TransactionCurrencyFactory $factory */
|
||||
$factory = app(TransactionCurrencyFactory::class);
|
||||
@@ -48,7 +48,7 @@ class TransactionCurrencyFactoryTest extends TestCase
|
||||
/**
|
||||
* @covers \FireflyIII\Factory\TransactionCurrencyFactory
|
||||
*/
|
||||
public function testCreateEmpty()
|
||||
public function testCreateEmpty(): void
|
||||
{
|
||||
/** @var TransactionCurrencyFactory $factory */
|
||||
$factory = app(TransactionCurrencyFactory::class);
|
||||
@@ -59,7 +59,7 @@ class TransactionCurrencyFactoryTest extends TestCase
|
||||
/**
|
||||
* @covers \FireflyIII\Factory\TransactionCurrencyFactory
|
||||
*/
|
||||
public function testFindByBadCode()
|
||||
public function testFindByBadCode(): void
|
||||
{
|
||||
/** @var TransactionCurrencyFactory $factory */
|
||||
$factory = app(TransactionCurrencyFactory::class);
|
||||
@@ -70,7 +70,7 @@ class TransactionCurrencyFactoryTest extends TestCase
|
||||
/**
|
||||
* @covers \FireflyIII\Factory\TransactionCurrencyFactory
|
||||
*/
|
||||
public function testFindByCode()
|
||||
public function testFindByCode(): void
|
||||
{
|
||||
// ;
|
||||
$currency = TransactionCurrency::inRandomOrder()->whereNull('deleted_at')->first();
|
||||
@@ -83,7 +83,7 @@ class TransactionCurrencyFactoryTest extends TestCase
|
||||
/**
|
||||
* @covers \FireflyIII\Factory\TransactionCurrencyFactory
|
||||
*/
|
||||
public function testFindByID()
|
||||
public function testFindByID(): void
|
||||
{
|
||||
$currency = TransactionCurrency::inRandomOrder()->whereNull('deleted_at')->first();
|
||||
/** @var TransactionCurrencyFactory $factory */
|
||||
@@ -95,7 +95,7 @@ class TransactionCurrencyFactoryTest extends TestCase
|
||||
/**
|
||||
* @covers \FireflyIII\Factory\TransactionCurrencyFactory
|
||||
*/
|
||||
public function testFindNull()
|
||||
public function testFindNull(): void
|
||||
{
|
||||
/** @var TransactionCurrencyFactory $factory */
|
||||
$factory = app(TransactionCurrencyFactory::class);
|
||||
|
||||
Reference in New Issue
Block a user