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

@@ -37,7 +37,7 @@ class SetNotesTest extends TestCase
* @covers \FireflyIII\TransactionRules\Actions\SetNotes::__construct()
* @covers \FireflyIII\TransactionRules\Actions\SetNotes::act()
*/
public function testAct()
public function testAct(): void
{
// give journal a note:
$journal = TransactionJournal::inRandomOrder()->whereNull('deleted_at')->first();
@@ -66,7 +66,7 @@ class SetNotesTest extends TestCase
* @covers \FireflyIII\TransactionRules\Actions\SetNotes::__construct()
* @covers \FireflyIII\TransactionRules\Actions\SetNotes::act()
*/
public function testActNoNotes()
public function testActNoNotes(): void
{
// give journal a note:
$journal = TransactionJournal::inRandomOrder()->whereNull('deleted_at')->first();