diff --git a/app/PaymentDrivers/BaseDriver.php b/app/PaymentDrivers/BaseDriver.php index cfdd0151acfd..0de59f60f565 100644 --- a/app/PaymentDrivers/BaseDriver.php +++ b/app/PaymentDrivers/BaseDriver.php @@ -71,7 +71,7 @@ class BaseDriver extends AbstractPaymentDriver public $payment_method; /* PaymentHash */ - public ?PaymentHash $payment_hash; + public $payment_hash; /* Array of payment methods */ public static $methods = []; diff --git a/tests/Feature/InvitationTest.php b/tests/Feature/InvitationTest.php index ccf4d5ea68bd..12dc8ff9d806 100644 --- a/tests/Feature/InvitationTest.php +++ b/tests/Feature/InvitationTest.php @@ -33,18 +33,12 @@ use Tests\TestCase; class InvitationTest extends TestCase { use MakesHash; - //use DatabaseTransactions; - //use RefreshDatabase; + use DatabaseTransactions; + // use RefreshDatabase; public function setUp() :void { parent::setUp(); - - Session::start(); - - $this->faker = \Faker\Factory::create(); - - Model::reguard(); } public function testInvoiceCreationAfterInvoiceMarkedSent()