Skip to content

Commit 763e34c

Browse files
committed
Convert More Separate Process Tests
1 parent ec23a9c commit 763e34c

15 files changed

+46
-62
lines changed

tests/PhpWordTests/ComplexType/FootnotePropertiesTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
* Test class for PhpOffice\PhpWord\ComplexType\FootnoteProperties.
2727
*
2828
* @coversDefaultClass \PhpOffice\PhpWord\ComplexType\FootnoteProperties
29-
*
30-
* @runTestsInSeparateProcesses
3129
*/
3230
class FootnotePropertiesTest extends \PHPUnit\Framework\TestCase
3331
{

tests/PhpWordTests/ComplexType/RubyPropertiesTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323

2424
/**
2525
* Test class for PhpOffice\PhpWord\ComplexType\RubyProperties.
26-
*
27-
* @runTestsInSeparateProcesses
2826
*/
2927
class RubyPropertiesTest extends \PHPUnit\Framework\TestCase
3028
{

tests/PhpWordTests/Exception/ExceptionTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
* Test class for PhpOffice\PhpWord\Exception\Exception.
2626
*
2727
* @coversDefaultClass \Exception
28-
*
29-
* @runTestsInSeparateProcesses
3028
*/
3129
class ExceptionTest extends TestCase
3230
{

tests/PhpWordTests/Exception/InvalidImageExceptionTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
* Test class for PhpOffice\PhpWord\Exception\InvalidImageException.
2525
*
2626
* @coversDefaultClass \PhpOffice\PhpWord\Exception\InvalidImageException
27-
*
28-
* @runTestsInSeparateProcesses
2927
*/
3028
class InvalidImageExceptionTest extends \PHPUnit\Framework\TestCase
3129
{

tests/PhpWordTests/Exception/InvalidStyleExceptionTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
* Test class for PhpOffice\PhpWord\Exception\InvalidStyleException.
2525
*
2626
* @coversDefaultClass \PhpOffice\PhpWord\Exception\InvalidStyleException
27-
*
28-
* @runTestsInSeparateProcesses
2927
*/
3028
class InvalidStyleExceptionTest extends \PHPUnit\Framework\TestCase
3129
{

tests/PhpWordTests/Exception/UnsupportedImageTypeExceptionTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222

2323
/**
2424
* Test class for PhpOffice\PhpWord\Exception\UnsupportedImageTypeExceptionTest.
25-
*
26-
* @runTestsInSeparateProcesses
2725
*/
2826
class UnsupportedImageTypeExceptionTest extends \PHPUnit\Framework\TestCase
2927
{

tests/PhpWordTests/IOFactoryTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131

3232
/**
3333
* Test class for PhpOffice\PhpWord\IOFactory.
34-
*
35-
* @runTestsInSeparateProcesses
3634
*/
3735
class IOFactoryTest extends TestCase
3836
{
@@ -43,6 +41,11 @@ protected function setUp(): void
4341
Settings::setPdfRenderer($rendererName, $rendererLibraryPath);
4442
}
4543

44+
protected function tearDown(): void
45+
{
46+
Settings::restoreDefaults();
47+
}
48+
4649
/**
4750
* Create all possible writers.
4851
*

tests/PhpWordTests/MediaTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
/**
2626
* Test class for PhpOffice\PhpWord\Media.
27-
*
28-
* @runTestsInSeparateProcesses
2927
*/
3028
class MediaTest extends AbstractWebServerEmbedded
3129
{

tests/PhpWordTests/Metadata/DocInfoTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222

2323
/**
2424
* Test class for PhpOffice\PhpWord\Metadata\DocInfo.
25-
*
26-
* @runTestsInSeparateProcesses
2725
*/
2826
class DocInfoTest extends \PHPUnit\Framework\TestCase
2927
{

tests/PhpWordTests/Metadata/SettingsTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626

2727
/**
2828
* Test class for PhpOffice\PhpWord\Metadata\Settings.
29-
*
30-
* @runTestsInSeparateProcesses
3129
*/
3230
class SettingsTest extends \PHPUnit\Framework\TestCase
3331
{

0 commit comments

Comments
 (0)