Skip to content

Commit 766776f

Browse files
committed
wip
1 parent 8e73a4c commit 766776f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/system/Config/ServicesTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ public function testResetForWorkerMode(): void
533533

534534
Services::resetForWorkerMode($config);
535535

536-
$this->assertTrue(Services::has('cache'));
536+
$this->assertFalse(Services::has('cache'));
537537
$this->assertTrue(Services::has('timer'));
538538
$this->assertFalse(Services::has('typography'));
539539
}
@@ -554,6 +554,7 @@ public function testValidateForWorkerMode(): void
554554
#[RunInSeparateProcess]
555555
public function testValidateForWorkerModeWithNoCache(): void
556556
{
557+
Services::resetSingle('cache');
557558
$this->assertFalse(Services::has('cache'));
558559

559560
Services::validateForWorkerMode();

0 commit comments

Comments
 (0)