Minor fix for typed property

This commit is contained in:
David Bomba 2021-11-07 20:31:03 +11:00
parent 0a84ddfd9b
commit 6e06e7d1f2
2 changed files with 3 additions and 9 deletions

View File

@ -71,7 +71,7 @@ class BaseDriver extends AbstractPaymentDriver
public $payment_method; public $payment_method;
/* PaymentHash */ /* PaymentHash */
public ?PaymentHash $payment_hash; public $payment_hash;
/* Array of payment methods */ /* Array of payment methods */
public static $methods = []; public static $methods = [];

View File

@ -33,18 +33,12 @@ use Tests\TestCase;
class InvitationTest extends TestCase class InvitationTest extends TestCase
{ {
use MakesHash; use MakesHash;
//use DatabaseTransactions; use DatabaseTransactions;
//use RefreshDatabase; // use RefreshDatabase;
public function setUp() :void public function setUp() :void
{ {
parent::setUp(); parent::setUp();
Session::start();
$this->faker = \Faker\Factory::create();
Model::reguard();
} }
public function testInvoiceCreationAfterInvoiceMarkedSent() public function testInvoiceCreationAfterInvoiceMarkedSent()