We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1ffd34 commit b1c5c64Copy full SHA for b1c5c64
tests/PhpSpreadsheetTests/Writer/Tcpdf/NoDieTest.php
@@ -7,8 +7,6 @@
7
use PhpOffice\PhpSpreadsheet\Writer\Pdf\TcpdfNoDie;
8
use PHPUnit\Framework\Attributes;
9
10
-// Separate processes because of global defined names
11
-#[Attributes\RunTestsInSeparateProcesses]
12
class NoDieTest extends \PHPUnit\Framework\TestCase
13
{
14
private Spreadsheet $spreadsheet;
@@ -23,6 +21,9 @@ protected function tearDown(): void
23
21
unset($this->spreadsheet);
24
22
}
25
+ // Separate processes because of global defined names
+ #[Attributes\RunInSeparateProcess]
26
+ #[Attributes\PreserveGlobalState(false)]
27
public function testExceptionRatherThanDie(): void
28
29
$this->expectException(Exception::class);
0 commit comments