mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 07:08:19 +00:00
Update test code.
This commit is contained in:
@@ -35,7 +35,7 @@ class NotesEndTest extends TestCase
|
||||
/**
|
||||
* @covers \FireflyIII\TransactionRules\Triggers\NotesEnd::triggered
|
||||
*/
|
||||
public function testTriggered()
|
||||
public function testTriggered(): void
|
||||
{
|
||||
$journal = TransactionJournal::inRandomOrder()->whereNull('deleted_at')->first();
|
||||
$journal->notes()->delete();
|
||||
@@ -51,7 +51,7 @@ class NotesEndTest extends TestCase
|
||||
/**
|
||||
* @covers \FireflyIII\TransactionRules\Triggers\NotesEnd::triggered
|
||||
*/
|
||||
public function testTriggeredLonger()
|
||||
public function testTriggeredLonger(): void
|
||||
{
|
||||
$journal = TransactionJournal::inRandomOrder()->whereNull('deleted_at')->first();
|
||||
$journal->notes()->delete();
|
||||
@@ -67,7 +67,7 @@ class NotesEndTest extends TestCase
|
||||
/**
|
||||
* @covers \FireflyIII\TransactionRules\Triggers\NotesEnd::triggered
|
||||
*/
|
||||
public function testTriggeredNoMatch()
|
||||
public function testTriggeredNoMatch(): void
|
||||
{
|
||||
$journal = TransactionJournal::inRandomOrder()->whereNull('deleted_at')->first();
|
||||
$journal->notes()->delete();
|
||||
@@ -83,7 +83,7 @@ class NotesEndTest extends TestCase
|
||||
/**
|
||||
* @covers \FireflyIII\TransactionRules\Triggers\NotesEnd::willMatchEverything
|
||||
*/
|
||||
public function testWillMatchEverythingEmpty()
|
||||
public function testWillMatchEverythingEmpty(): void
|
||||
{
|
||||
$value = '';
|
||||
$result = NotesEnd::willMatchEverything($value);
|
||||
@@ -93,7 +93,7 @@ class NotesEndTest extends TestCase
|
||||
/**
|
||||
* @covers \FireflyIII\TransactionRules\Triggers\NotesEnd::willMatchEverything
|
||||
*/
|
||||
public function testWillMatchEverythingNotNull()
|
||||
public function testWillMatchEverythingNotNull(): void
|
||||
{
|
||||
$value = 'x';
|
||||
$result = NotesEnd::willMatchEverything($value);
|
||||
@@ -103,7 +103,7 @@ class NotesEndTest extends TestCase
|
||||
/**
|
||||
* @covers \FireflyIII\TransactionRules\Triggers\NotesEnd::willMatchEverything
|
||||
*/
|
||||
public function testWillMatchEverythingNull()
|
||||
public function testWillMatchEverythingNull(): void
|
||||
{
|
||||
$value = null;
|
||||
$result = NotesEnd::willMatchEverything($value);
|
||||
|
||||
Reference in New Issue
Block a user