Skip to content

Commit 4975534

Browse files
committed
clean up unnecessary PreserveGlobalState
1 parent ccaa3eb commit 4975534

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

test/Controller/AlbumTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@
1818
use CodeIgniter\Test\DatabaseTestTrait;
1919
use Config\Database;
2020
use Config\Services;
21-
use PHPUnit\Framework\Attributes\PreserveGlobalState;
2221
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
2322

24-
#[PreserveGlobalState(false)]
2523
#[RunTestsInSeparateProcesses]
2624
/**
2725
* @internal

test/Controller/AlbumTrackSummaryTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@
1818
use CodeIgniter\Test\ControllerTestTrait;
1919
use CodeIgniter\Test\DatabaseTestTrait;
2020
use Config\Database;
21-
use PHPUnit\Framework\Attributes\PreserveGlobalState;
2221
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
2322

24-
#[PreserveGlobalState(false)]
2523
#[RunTestsInSeparateProcesses]
2624
/**
2725
* @internal

test/Controller/TrackTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@
1919
use CodeIgniter\Test\DatabaseTestTrait;
2020
use Config\Database;
2121
use Config\Services;
22-
use PHPUnit\Framework\Attributes\PreserveGlobalState;
2322
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
2423

25-
#[PreserveGlobalState(false)]
2624
#[RunTestsInSeparateProcesses]
2725
/**
2826
* @internal

0 commit comments

Comments
 (0)