mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
remove process isolation for PHP 8.3 tests
This commit is contained in:
parent
b37dfe63e9
commit
8b8a5e3148
@ -388,7 +388,11 @@ class Peppol extends AbstractService
|
||||
*/
|
||||
public function toObject(): mixed
|
||||
{
|
||||
return json_decode($this->toJson());
|
||||
|
||||
$invoice = new \stdClass;
|
||||
$invoice->Invoice = json_decode($this->toJson());
|
||||
return $invoice;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false"
|
||||
bootstrap="vendor/autoload.php" colors="true" processIsolation="true" stopOnError="true" stopOnFailure="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
|
||||
bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnError="true" stopOnFailure="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
|
||||
cacheDirectory=".phpunit.cache" backupStaticProperties="false">
|
||||
<testsuites>
|
||||
<testsuite name="Unit">
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
namespace Tests;
|
||||
|
||||
use Mockery;
|
||||
use App\Utils\Traits\AppSetup;
|
||||
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
||||
|
||||
@ -15,4 +16,5 @@ abstract class TestCase extends BaseTestCase
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user